Pregunta

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.

¿Fue útil?

Solución 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.

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top