Top "Uiwindow" questions

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

Get Application's main window

UIApplication has a method keyWindow, however if an alert view is showing then this returns the window of the alert …

ios objective-c uiwindow uiapplication
How to remove a UIWindow?

I thought it was easy as [myWindow resignKeyWindow] and [self.window makeKeyAndVisible] but I guess not… Would you guys know …

iphone cocoa-touch ios ios4 uiwindow
unexpected nil window in _UIApplicationHandleEventFromQueueEvent

One of my old apps is not working with iOS8. When I start the app up, and try to tap …

ios8 hittest uiwindow
UIWindow not showing over content in iOS 13

I am upgrading my app to use the new UIScene patterns as defined in iOS 13, however a critical part of …

ios swift uiwindow ios13 uiscenedelegate
How to add view in UIWindow?

I wanted to add a view in UIWindow with following code: AppDelegate *delegate = (AppDelegate *)[UIApplication sharedApplication].delegate; UIWindow *window = delegate.…

ios objective-c uiwindow
The app delegate must implement the window property if it wants to use a main storyboard file

I'm programmatically implement a list view controller. When I try to run the project, I got error: 2012-11-07 22:46:34.719 myTableViewControl[12021:…

ios uiviewcontroller uinavigationcontroller uiwindow appdelegate
makeKeyAndVisible & makeKeyWindow - uiwindow in iphone

In every application, there is always written as [window makeKeyAndVisible]; What is mean by makeKey?

iphone cocoa-touch uikit uiwindow
Best way to change between views in iOS

How do you go from one view to another? Is [window addSubview:myView]; The only option or is there a …

ios uiview navigation uiwindow
Capturing full screenshot with status bar in iOS programmatically

I am using this code to capture a screenshot and to save it to the photo album. -(void)TakeScreenshotAndSaveToPhotoAlbum { …

objective-c ios uiwindow uiscreen
iPhone - UIWindow rotating depending on current orientation?

I am adding an additional UIWindow to my app. My main window rotates correctly, but this additional window I have …

iphone objective-c screen-orientation uiwindow