IOS7: how Apple makes the navigation controller look like uiaewsheet in a calendar app

On an iPad in a calendar application, clicking the “+” button in the upper right corner is a view that overlays over the current view, such as spawning a UIActionSheet from a UIBarButtonItem. However, this view explicitly contains the UINavigationController, something that the UIActionSheet cannot do initially.

I hope that Apple will demonstrate the ability to do this so that I do not have to play it myself. Can anyone give some idea of ​​how I could approach this concept?

+2
source share
1 answer

I bet this is not a UIActionSheet , but a UIPopoverController that can embed a UINavigationController .

0
source

Source: https://habr.com/ru/post/955795/


All Articles