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
SBSRelaunchAction: Difference between revisions - iPhone Development Wiki

SBSRelaunchAction: Difference between revisions

From iPhone Development Wiki
(SBSRelaunchAction, still need documentation of "options".)
 
(Relaunch style.)
Line 1: Line 1:
[[SBSRelaunchAction]] objects provide relaunching [[SpringBoard]] action with relaunch URL and style when used with [[FBSSystemService]]. Available as of iOS 9.2
[[SBSRelaunchAction]] objects provide relaunching [[SpringBoard]] action with relaunch URL and style. Available as of iOS 9.2
 
== Relaunch style ==
 
<source lang="objc">
typedef enum {
      None                  = 0,
      RestartRenderServer    = (1 << 0), // also relaunch backboardd
      SnapshotTransition    = (1 << 1),
      FadeToBlackTransition  = (1 << 2),
} SBSRelaunchActionStyle;
</source>


== Methods ==
== Methods ==


{{function signature
{{function signature
|signature=+(SBSRelaunchAction *)actionWithReason:(NSString *)reason options:(int)options targetURL:(NSURL *)url;
|signature=+(SBSRelaunchAction *)actionWithReason:(NSString *)reason options:(SBSRelaunchActionStyle)options targetURL:(NSURL *)url;
|firmware=9.2 —
|firmware=9.2 —
}}
}}

Revision as of 06:06, 4 August 2016

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

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.2 —

References