Top "Uiwindow" questions

The UIWindow class defines objects (known as windows ) that manage and coordinate the windows an application displays on the screen.

Get the top ViewController in iOS Swift

I want to implement a separate ErrorHandler class, which displays error messages on certain events. The behavior of this class …

swift uialertview viewcontroller uiwindow
How to change the default View Controller that is loaded when app launches?

I have an application, say 'MyApp', which by default loads the view controller 'MyAppViewController' whenever the application launches. Later, I …

iphone objective-c uiviewcontroller uiwindow
Height and width on iPhone (/iPad)

This is just a test application, There is only a AppDelegate class to create all I did was create a …

iphone objective-c ipad interface uiwindow
makeKeyWindow vs makeKeyAndVisible

What is the difference between makeKeyWindow and makeKeyAndVisible which are two methods of UIWindow ? When will a UIWindow be a …

ios objective-c uiwindow
Making a button persistent across all view controllers

I want to have a persistent button in the bottom right corner of my app. During all view transitions, the …

ios uiview uiviewcontroller uiwindow
Set rootViewController iOS 13

After upgrading Xcode a critical part of my application has stopped working. When my app launches I run a function …

ios swift ios13 uiwindow rootview
Unknown error [UIWindow endDisablingInterfaceAutorotation]

I am receiving this error. I have no clue as to why it would be called, and Google didn't really …

iphone objective-c uikit uiwindow
After rotation UIView coordinates are swapped but UIWindow's are not?

Using Xcode 4.2.1 iPad iOS 5.0.1, create a new "Single View" iPad project. In the controller, add: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { …

ios uiview rotation uiwindow
How to use multiple iOS custom view controllers without a navigation controller

I am building an app that uses multiple types of screens--all which warrant their own custom view controllers. I am …

iphone ios ipad uiviewcontroller uiwindow
subclassing UIWindow while using storyboards

I have same issue as explained in this question: Where can I change the window my app uses from UIWindow …

iphone objective-c ios cocoa-touch uiwindow