Difference between revisions of "SBSRelaunchAction"

From iPhone Development Wiki
Jump to: navigation, search
(Relaunch style.)
(this was actually added in 9.3 not 9.2)
 
Line 1: Line 1:
[[SBSRelaunchAction]] objects provide relaunching [[SpringBoard]] action with relaunch URL and style. Available as of iOS 9.2
+
[[SBSRelaunchAction]] objects provide relaunching [[SpringBoard]] action with relaunch URL and style. Available as of iOS 9.3
  
 
== Relaunch style ==
 
== Relaunch style ==
Line 16: Line 16:
 
{{function signature
 
{{function signature
 
|signature=+(SBSRelaunchAction *)actionWithReason:(NSString *)reason options:(SBSRelaunchActionStyle)options targetURL:(NSURL *)url;
 
|signature=+(SBSRelaunchAction *)actionWithReason:(NSString *)reason options:(SBSRelaunchActionStyle)options targetURL:(NSURL *)url;
|firmware=9.2
+
|firmware=9.3
 
}}
 
}}
  

Latest revision as of 03:35, 15 January 2018

SBSRelaunchAction objects provide relaunching SpringBoard action with relaunch URL and style. Available as of iOS 9.3

Relaunch style

typedef enum {
      None                   = 0,
      RestartRenderServer    = (1 << 0), // also relaunch backboardd
      SnapshotTransition     = (1 << 1),
      FadeToBlackTransition  = (1 << 2),
} SBSRelaunchActionStyle;

Methods

Signature +(SBSRelaunchAction *)actionWithReason:(NSString *)reason options:(SBSRelaunchActionStyle)options targetURL:(NSURL *)url;
Available in 9.3 —

References