Skip to content

Presentation process

problame edited this page Nov 9, 2013 · 1 revision

Presentation takes place in the following way:

  1. Init with parentViewController (PVC)
    1. PVC is checked
      1. OK if UIViewController
      2. OK if UITableViewController with a UINavigationController, set parentNavigationController (PNVC)
      3. NOT OK if UITableViewController without a UINavigationController (why?)
  2. Call to setVisible:...
    1. Frame calculation
      1. Cannot use topLayoutGuide as it has strange issues with UITableViewController or is just 0 because it's a UINavigationController (why?)
  3. Insert CSNotificationView as subview
    1. IF PNVC is set, insert below UINavigationBar
      1. IF PNVC not set, add as subview to PVC
Clone this wiki locally