I have a floating title UIViewbelow UINavigationBar. I inserted it as a preview in index 0, so I can animate it and according to the contentOffset from UITableView.
However, since it goes beyond UINavigationBar, I cannot receive touch events in this view after adding to it UITapGestureRecognizer. All touch events go to UITableViewbelow.
Any ideas if it is possible to have a preview outside the borders of the navigation bar and receive touch events for it?
I did this because adding it as a subview in UITableView, I would need to set the beginning of Y based on the contentOffset while scrolling, and this also makes the animation very complicated, since the original Y changes while scrolling, so I cannot know where revive him.
It looks like the title of a Facebook app with the Status, Photos, and Check buttons.
thank
source
share