Top "Uiwindow" questions

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

How to tell if UIViewController's view is visible

I have a tab bar application, with many views. Is there a way to know if a particular UIViewController is …

ios uiview uiviewcontroller uiwindow
iPhone - Get Position of UIView within entire UIWindow

The position of a UIView can obviously be determined by view.center or view.frame etc. but this only returns …

iphone cocoa-touch ios uiview uiwindow
Getting reference to the top-most view/window in iOS application

I'm creating a reusable framework for displaying notifications in an iOS application. I'd like the notification views to be added …

objective-c uiview ios uiwindow
To create a new UIWindow over the main window

In my app I want to create a new UIWindow over the main UIWindow, And I wrote as following, but …

ios uiwindow
how to get my UIWindow using UIApplication?

I have only one window and I tried UIWindow* mWindow = [[UIApplication sharedApplication] keyWindow]; but this returned nil. I also tried: …

iphone uiwindow uiapplication
How to resolve: 'keyWindow' was deprecated in iOS 13.0

I'm using Core Data with Cloud Kit, and have therefore to check the iCloud user status during application startup. In …

swift ios13 uiwindow uiscene
iOS - Get location of a view in a window?

I have a UIView that displays a popup after it's been clicked. The popup needs to be added to the …

iphone objective-c ios uiwindow
Orientation in a UIView added to a UIWindow

I have a UIView which is supposed to cover the whole device (UIWindow) to support an image zoom in/out …

iphone uiview orientation uiwindow
Convert a UIView origin point to its Window coordinate system

I want to get the origin of scrollView in the window coordinate system. For Example, presently, scollView origin is (0,51). But …

ios uiview coordinate-systems uiwindow
View on top of everything: UIWindow subview VS UIViewController subview

In order to make a UIView on top of all views like the behavior of UIAlertView, the best way I …

iphone xcode uiview uialertview uiwindow