Closed n9lvc5 closed 3 years ago
Found the problem. Seems like iOS 14.5 has changed some rules.
https://developer.apple.com/forums/thread/661508
adding this line to init(style:reuseIdentifier:) made the button respond to tap.
self.contentView.isUserInteractionEnabled = true
hence:
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
self.contentView.isUserInteractionEnabled = true
I'm going to assume that this will also work on the settings view as well.
fix all button in all cell
@arno608rw , I don't understand your comment. Can you please elaborate.
This is the same issue as #18 , But the solution was never posted.
accecpt.addTarget is the issue. Nothing happens when touched. The syntax seems to correct. The order seems to be correct as well. I question the location of it, though. Or is it something simple?
Marker 10 and 11 do show up without error.