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.

Était-ce utile?

La 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.

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top