Whenever I want to display some overlay on top of everything else, I just add it on top of the Application Window directly:
[[[UIApplication sharedApplication] keyWindow] addSubview:someView]
More Related Contents:
- UIView frame, bounds and center
- UIGestureRecognizer blocks subview for handling touch events
- Move UIView up when the keyboard appears in iOS
- Unable to set frame correctly before viewDidAppear
- Detecting if UIView is intersecting other UIViews
- How do I implement an Objective-C singleton that is compatible with ARC?
- NSAttributedString background color and rounded corners
- Synthesized property and variable with underscore prefix: what does this mean? [duplicate]
- presentViewController: crash on iOS
- NSInvalidUnarchiveOperationException: Could not instantiate class named NSLayoutConstraint
- convert UIImage to NSData
- Implementing a method taking a block to use as callback
- applications expected to have a root view controller console
- iOS start Background Thread
- Container View Controller Examples [closed]
- Advantages, problems, examples of adding another UIWindow to an iOS app?
- ios: change the colors of a UIImage
- resizing a UIImage without loading it entirely into memory?
- Hide autolayout UIView : How to get existing NSLayoutConstraint to update this one
- iOS: How do I know if a property is KVO-compliant?
- Creating iPhone Pop-up Menu Similar to Mail App Menu
- rotate a UIView around its center but several times
- Is it possible to detect that your iOS app is running on an iPad mini at runtime?
- Sort NSArray of custom objects based on sorting of another NSArray of strings
- How can I draw an arrow using Core Graphics?
- NSTimeInterval Formatting
- fake va_list in ARC
- Why is my string potentially unsecure in my iOS application?
- Objective C implementing a UIPickerView with a “Done” button
- iOS: store two NSMutableArray in a .plist file