Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UIKit.framework - iPhone Development Wiki

UIKit.framework

From iPhone Development Wiki
Revision as of 10:33, 13 February 2010 by KennyTM~ (talk | contribs)
UIKit.framework
Public Framework
Availabile 1.0 – present
Class Prefix UI
Headers [headers.cynder.me]

UIKit is a high-level Objective-C framework that manages the graphical front-end of the iPhoneOS. It is a public framework, and therefore its documentation can be found on Apple's iPhone Dev Center. Nevertheless, this is only a small part of the whole UIKit.

Parameters for UIKit applications

UIKit recognizes the following these special command-line flags:

Flag Purpose
-BuildDefaultPNG Write the default PNG image to ~/Library/Caches/AppSnapshots/BundleID.png
(by calling -[UIApplication _writeApplicationDefaultPNGSnapshot] on start up).
-RegisterForSystemEvents Allow this app to receive system events which normally should be received by SpringBoard.

Versions

Firmware 2.0 2.1 2.2 3.0 3.1 3.2
Version 738 747.36 747.36.52 963.10 984.38 1144.5

Environment variables

UIKit recognizes the following environment variables

Name Purpose
UIKIT_PACKED_IMAGE_MAPS An integer: 0 to disable mapped images (.artwork files) entirely; 1 for normal use; 2 to log operations regarding mapped images.
KB_RECORDING_ENABLED Whether to enable keyboard recording or not. (The KeyboardRecordingEnabled key of the com.apple.Preferences preferences must be set to true for this to be effective.)
CF_BENCH_MODE Cover Flow benchmark mode. Available values are:
  • Disabled
  • NoAnimation
  • JustSitThere
  • FastTap
  • ScrubBackAndForth
  • LongScrub
  • ShortScrub
  • ScrubAndWait
  • FlipCover
CF_BENCH_IMAGE_MODE Cover Flow benchmark image mode. Available values are:
  • NormalImage
  • SingleImage
  • NoImage
CF_BENCH_DISABLE_ENV_PRINT
CF_BENCH_PERF_LOG
CF_BENCH_TICK_MODE
CF_BENCH_TIGHT_LOOP_TIME
CF_BENCH_LONG_SCRUB_SPEED
CF_BENCH_SKIP_IMAGE_LOAD
Other Cover Flow benchmark parameters.
COVERFLOW_LINEAR_FILTERING
COVERFLOW_SPACING
Some Cover Flow settings.