-
Notifications
You must be signed in to change notification settings - Fork 145
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
UITableViewController
with aUINavigationController
, setparentNavigationController
(PNVC) - NOT OK if
UITableViewController
without aUINavigationController
(why?)
- OK if
- PVC is checked
- Call to
setVisible:...
- Frame calculation
- Cannot use
topLayoutGuide
as it has strange issues withUITableViewController
or is just 0 because it's aUINavigationController
(why?)
- Cannot use
- Frame calculation
- Insert
CSNotificationView
as subview- IF PNVC is set, insert below
UINavigationBar
- IF PNVC not set, add as subview to PVC
- IF PNVC is set, insert below