最終更新:2017-06-06 (火) 14:01:51 (2513d)  

UIApplication
Top / UIApplication

アプリケーション全体を管理するクラス

http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIApplication_Class/Reference/Reference.html

Tasks

Getting the Application Instance

Setting and Getting the Delegate

Getting Application Windows

Managing the Default Interface Orientations

  • UIApplication.supportedInterfaceOrientationsForWindow?

Controlling and Handling Events

  • UIApplication.sendEvent?
  • UIApplication.sendAction:to:from:forEvent?
  • UIApplication.beginIgnoringInteractionEvents?
  • UIApplication.endIgnoringInteractionEvents?
  • UIApplication.isIgnoringInteractionEvents?
  • UIApplication.applicationSupportsShakeToEdit? - プロパティ (BOOL)
  • UIApplication.proximitySensingEnabled? - プロパティ (BOOL) - Deprecated in iOS 3.0?

Opening a URL Resource

  • UIApplication.openURL?
  • UIApplication.canOpenURL?

Registering for Remote Notifications

  • UIApplication.registerForRemoteNotificationTypes?
  • UIApplication.unregisterForRemoteNotifications?
  • UIApplication.enabledRemoteNotificationTypes?

Managing Application Activity

  • UIApplication.idleTimerDisabled? - プロパティ (BOOL)

Managing Background Execution

  • UIApplication.applicationState? - プロパティ (UIApplicationState?)
  • UIApplication.backgroundTimeRemaining? - プロパティ (NSTimeInterval)
  • UIApplication.beginBackgroundTaskWithExpirationHandler?
  • UIApplication.endBackgroundTask?
  • UIApplication.setKeepAliveTimeout:handler?
  • UIApplication.clearKeepAliveTimeout?

Performing State Restoration Asynchronously

  • UIApplication.extendStateRestoration?
  • UIApplication.completeStateRestoration?

Registering for Local Notifications

  • UIApplication.scheduleLocalNotification?
  • UIApplication.presentLocalNotificationNow?
  • UIApplication.cancelLocalNotification?
  • UIApplication.cancelAllLocalNotifications?
  • UIApplication.scheduledLocalNotifications? - プロパティ (NSArray)

Determining the Availability of Protected Content

  • UIApplication.protectedDataAvailable? - プロパティ (BOOL)

Registering for Remote Control Events

  • UIApplication.beginReceivingRemoteControlEvents?
  • UIApplication.endReceivingRemoteControlEvents?

Managing Status Bar Orientation

  • UIApplication.setStatusBarOrientation:animated?
  • UIApplication.statusBarOrientation? - プロパティ (UIInterfaceOrientation)
  • UIApplication.statusBarOrientationAnimationDuration? - プロパティ (NSTimeInterval)

Controlling Application Appearance

  • UIApplication.setStatusBarHidden:withAnimation?
  • UIApplication.statusBarHidden? - プロパティ (BOOL)
  • UIApplication.setStatusBarStyle:animated?
  • UIApplication.statusBarStyle? - プロパティ (UIStatusBarStyle?)
  • UIApplication.statusBarFrame? - プロパティ (CGRect)
  • UIApplication.networkActivityIndicatorVisible? - プロパティ (BOOL)
  • UIApplication.applicationIconBadgeNumber? - プロパティ (NSInteger)
  • UIApplication.userInterfaceLayoutDirection? - プロパティ (UIUserInterfaceLayoutDirection?)
  • UIApplication.setStatusBarHidden:animated? - Deprecated in iOS 3.2?

Setting the Icon of a Newsstand Application

  • UIApplication.setNewsstandIconImage?

関連