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.

有帮助吗?

解决方案 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.

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top