chrismiles / CMPopTipView

Custom UIView for iOS that pops up an animated "bubble" pointing at a button or other view. Useful for popup tips.
https://github.com/chrismiles/CMPopTipView
MIT License
2.73k stars 467 forks source link

Ensure tip is on top of other views #48

Closed yvsong closed 10 years ago

yvsong commented 11 years ago

Sometimes the tipView is hidden below another view when pointing to a bar button item on a toolbar. Adding the following as the final line in presentPointingAtView:inView:animated: ensures the tip is on the top:

self.layer.zPosition = MAXFLOAT;

yvsong commented 10 years ago

Visibility is decided by container view.