-
Notifications
You must be signed in to change notification settings - Fork 144
Presentation process
problame edited this page Nov 9, 2013
·
1 revision
Presentation takes place in the following way:
- Init with
parentViewController(PVC)- PVC is checked
- OK if
UIViewController - OK if
UITableViewControllerwith aUINavigationController, setparentNavigationController(PNVC) - NOT OK if
UITableViewControllerwithout aUINavigationController(why?)
- OK if
- PVC is checked
- Call to
setVisible:...- Frame calculation
- Cannot use
topLayoutGuideas it has strange issues withUITableViewControlleror is just 0 because it's aUINavigationController(why?)
- Cannot use
- Frame calculation
- Insert
CSNotificationViewas subview- IF PNVC is set, insert below
UINavigationBar- IF PNVC not set, add as subview to PVC
- IF PNVC is set, insert below