The UIAApplication class allows access to and control of application-level user interface elements.
Returns a UIAActionSheet
object representing an action sheet, if one is present.
(UIAActionSheet) actionSheet()
Returns a string containing the application’s bundle ID in reverse-DNS format.
(String) bundleID()
Returns the UIAEditingMenu
object representing the application’s edit menu, if it exists.
(UIAEditingMenu) editingMenu()
Returns the interface orientation.
(Number) interfaceOrientation()
Interface orientation represents the rotation required to keep the interface right-side up upon device rotation. Note that in landscape mode, device orientation and interface orientation are opposite, because rotating the device requires rotating the content in the opposite direction.
Returns the UIAKeyboard
object representing the application’s keyboard, if it exists.
(UIAKeyboard) keyboard()
Returns the UIAWindow
object representing the application’s main window.
(UIAWindow) mainWindow()
Returns the UIANavigationBar
object representing the application’s navigation bar, if it exists.
(UIANavigationBar) navigationBar())
Gets the value of a specified application user preference.
(NotTyped) preferenceValueForKey(key)
The key representing the preference to be set.
Sets the value of a specified application user preference.
(undefined) setPreferenceValueForKey(NotTyped value, String key)
The new value to set for the specified preference.
The key representing the preference to be set.
Returns the UIAStatusBar
object representing the application’s status bar, if it exists.
(UIAStatusBar) statusBar()
Returns the UIATabBar
object representing the application’s tab bar, if it exists.
(UIATabBar) tabBar()
Returns the UIAToolbar
object representing the application’s toolbar, if it exists.
(UIAToolbar) toolbar()
Returns a string representing the build version number of the application.
(String) version()
The build version is represented by a string comprising three period-separated integers.
Last updated: 2010-05-27