Post

Replies

Boosts

Views

Activity

Reply to Bar button item custom view not detecting UITapGesture
So, I have figured this out. The problem was that I wasn't applying any constraints to the holderView, so even though the views were shown, the actual size was 0, because it was visible out of bounds. Note that setting a CGRect size to the holderView didn't solve the issue. I really had to set its constraints to the superview - in this case the leftBarButtonItem.customView
Sep ’20