Question

How to create an application to support multiple windows. So that user can create new or close window simultaneously in the same app like we can see in browsers.

Any suggestion is appreciated.

Was it helpful?

Solution 2

You don't want to use multiple windows. The app could have multiple windows but this wouldn't give you the effect you want (or would be an abusive way of creating it).

Instead, what you want is a container view controller which manages, in a custom way, a number of child view controllers. Think about how a tab view controller works - you want the same thing, just presented in a different way.

Taks a look at HGPageScrollView for inspiration and reuse.

OTHER TIPS

as of iOS13 and XCode11 you can create multiple window apps for iPad OS by setting the Enable Multiple Windows property in info.plist to YES.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top