iphone - What is the proper way to show a UIViewController/UIView over a UIView? -


i have uiviewcontroller uitableview , buttons in each cell, 1 button show comments , make comments. need show "bubble view" facebook comments on current view, if user taps in other side need hide bubble (just facebook comments in photos).

i have bubble view, no problem that, question proper way show it, , create in storyboard, because have tableview comments , few buttons make new comments.

enter image description here

if want display viewcontroller have creating custom container view controller. tableview rootviewcontroller , make child's viewcontroller ("bubble view") frame smaller. necessary forward events "bubble view".

additional readings/tutorials

http://mobile.tutsplus.com/tutorials/iphone/implementing-container-containment-sliding-menu-controller/

https://developer.apple.com/library/ios/documentation/uikit/reference/uiviewcontroller_class/reference/reference.html#//apple_ref/occ/instp/uiviewcontroller/childviewcontrollers


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -