Deprecated UIApplication Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in iOS 3.0
proximitySensingEnabled
A Boolean value that determines whether proximity sensing is enabled. (Deprecated in iOS 3.0. The properties proximityMonitoringEnabled and proximityState of the UIDevice class are the replacements.)
Discussion
YES if proximity sensing is enabled; otherwise NO. Enabling proximity sensing tells iOS that it may need to blank the screen if the user's face is near it. Proximity sensing is disabled by default.
Availability
- Available in iOS 2.0 and later.
- Deprecated in iOS 3.0.
Declared In
UIApplication.hDeprecated in iOS 3.2
setStatusBarHidden:animated:
Hides or shows the status bar, optionally animating the transition. (Deprecated in iOS 3.2. Use setStatusBarHidden:withAnimation: instead.)
Parameters
- hidden
YESif the status bar should be hidden,NOif it should be visible. The default value isNO.- animated
YESif the transition to or from a hidden state should be animated,NOotherwise.
Discussion
The animation fades the status bar out or in at the top of the interface, depending on the value of hidden.
Availability
- Available in iOS 2.0 and later.
- Deprecated in iOS 3.2.
See Also
Declared In
UIApplication.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-12-13)