-
Notifications
You must be signed in to change notification settings - Fork 806
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apps initialized with a storyboard don't get a main window #1836
Comments
jaredhms
added a commit
to jaredhms/WinObjC
that referenced
this issue
Apr 6, 2017
- Non storyboard apps are expected to create their own UIWindow and makeKeyAndVisible - Storyboard apps get a UIWindow that they need to makeKeyAndVisible - Fixing up annotations on UIWindow and UIApplication - Removed a lot of dead code from UIApplication, including two UIWindows that we don't need/use. - Switched UIWindow.mm and UIApplication.mm to ARC Fixes microsoft#1836: Apps initialized with a storyboard don't get a main window (they get the 'popup window').
jaredhms
added a commit
to jaredhms/WinObjC
that referenced
this issue
Apr 13, 2017
- Non storyboard apps are expected to create their own UIWindow and makeKeyAndVisible - Storyboard apps get a UIWindow that they need to makeKeyAndVisible - Fixing up annotations on UIWindow and UIApplication - Removed a lot of dead code from UIApplication, including two UIWindows that we don't need/use. - Switched UIWindow.mm and UIApplication.mm to ARC Fixes microsoft#1836: Apps initialized with a storyboard don't get a main window (they get the 'popup window').
jaredhms
added a commit
to jaredhms/WinObjC
that referenced
this issue
Apr 14, 2017
- Non storyboard apps are expected to create their own UIWindow and makeKeyAndVisible - Storyboard apps get a UIWindow that they need to makeKeyAndVisible - Fixing up annotations on UIWindow and UIApplication - Removed a lot of dead code from UIApplication, including two UIWindows that we don't need/use. - Switched UIWindow.mm and UIApplication.mm to ARC Fixes microsoft#1836: Apps initialized with a storyboard don't get a main window (they get the 'popup window').
jaredhms
added a commit
that referenced
this issue
Apr 14, 2017
* Cleaning up UIWindow initialization and usage - Non storyboard apps are expected to create their own UIWindow and makeKeyAndVisible - Storyboard apps get a UIWindow that they need to makeKeyAndVisible - Fixing up annotations on UIWindow and UIApplication - Removed a lot of dead code from UIApplication, including two UIWindows that we don't need/use. - Switched UIWindow.mm and UIApplication.mm to ARC Fixes #1836: Apps initialized with a storyboard don't get a main window (they get the 'popup window'). * s * Fixing up annotations; using NOTINPLAN_* macros to headers where applicable. * Added functional tests for UIApplicationDelegate. Also cleaning up a bit more of the app launch path. * Removing accidentally-added file. * Incorporating CR feedback.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Applications that are initialized with a storyboard are supposed to have a main UIWindow automatically created, and the app delegate's "window" property should be initialized with this value. However, this window is never created in WinObjC apps.
The only window that gets created is the popup window, which is also, as a result of being the only window in existence, erroneously marked as the key window.
See the XAMLCatalog sample app for an example of this behavior.
The text was updated successfully, but these errors were encountered: