Updating extensions for iOS 9.3.3: Difference between revisions

From iPhone Development Wiki
Line 12: Line 12:


* SBUIController's <tt>-finishLaunching</tt> ceased to exist. Consider using notifications to perform initializations of your tweaks if you were hooking this method. (<tt>com.apple.accessibility.system.app.server.ready</tt>, <tt>com.apple.frontboard.systemappservices.serverNotifyToken</tt>, <tt>SBSpringBoardDidLaunchNotification</tt>, <tt>com.apple.springboard.finishedstartup</tt>, <tt>com.apple.sharing.SpringBoard.started</tt>, <tt>com.apple.springboard.homescreenunlocked</tt> are some of the notifications to register for.)
* SBUIController's <tt>-finishLaunching</tt> ceased to exist. Consider using notifications to perform initializations of your tweaks if you were hooking this method. (<tt>com.apple.accessibility.system.app.server.ready</tt>, <tt>com.apple.frontboard.systemappservices.serverNotifyToken</tt>, <tt>SBSpringBoardDidLaunchNotification</tt>, <tt>com.apple.springboard.finishedstartup</tt>, <tt>com.apple.sharing.SpringBoard.started</tt>, <tt>com.apple.springboard.homescreenunlocked</tt> are some of the notifications to register for.)
* SpringBoard's <tt>-_relaunchSpringBoardNow</tt> ceased to exist. Use <tt>[[FBSystemService sharedInstance] exitAndRelaunch:YES]</tt> (AFAIK there is no difference between <tt>YES</tt> and <tt>NO</tt> at the end).
* SpringBoard's <tt>-_relaunchSpringBoardNow</tt> ceased to exist. Use <tt>[[FBSystemService sharedInstance] exitAndRelaunch:YES]</tt> (AFAIK there is no difference between <tt>YES</tt> and <tt>NO</tt> at the end).
* To reboot, use <tt>[[FBSystemService sharedInstance] shutdownAndReboot:YES]</tt> and to shutdown, use <tt>[[FBSystemService sharedInstance] shutdownAndReboot:NO]</tt>
* To reboot, use <tt>[[FBSystemService sharedInstance] shutdownAndReboot:YES]</tt> and to shutdown, use <tt>[[FBSystemService sharedInstance] shutdownAndReboot:NO]</tt>
* SBOrientationLockManager's <tt>-isLocked</tt> ceased to exist. There is now <tt>-isUserLocked</tt> (without lock override check) and <tt>-isEffectivelyLocked</tt> (with lock override check).
* SBOrientationLockManager's <tt>-isLocked</tt> ceased to exist. There is now <tt>-isUserLocked</tt> (without lock override check) and <tt>-isEffectivelyLocked</tt> (with lock override check).
* SBScreenShotter has been replaced with SBScreenshotManager. An instance of SBScreenshotManager is available through SpringBoard's <tt>screenshotManager</tt> property. To take a screenshot, use SBScreenshotManager's <tt>saveScreenshotsWithCompletion:</tt> method
* SBScreenShotter has been replaced with SBScreenshotManager. An instance of SBScreenshotManager is available through SpringBoard's <tt>screenshotManager</tt> property. To take a screenshot, use SBScreenshotManager's <tt>saveScreenshotsWithCompletion:</tt> method
* SBWallpaperController now applies styles based on the current bundleIdentifier, rather than globally. For example:  <tt>[wallpaperController setHomescreenStyle:1 priority:5 withAnimationFactory:nil];</tt> becomes <tt>[wallpaperController setHomescreenStyle:1 forBundleIdentifier:@"com.apple.SpringBoard" withPriority:5 animationFactory:nil];</tt>
* SBWallpaperController now applies styles based on the current bundleIdentifier, rather than globally. For example:  <tt>[wallpaperController setHomescreenStyle:1 priority:5 withAnimationFactory:nil];</tt> becomes <tt>[wallpaperController setHomescreenStyle:1 forBundleIdentifier:@"com.apple.SpringBoard" withPriority:5 animationFactory:nil];</tt>

Revision as of 04:38, 9 August 2016

Let's collect knowledge like we did with Updating extensions for iOS 9, Updating extensions for iOS 8 and Updating extensions for iOS 7 - paste in your notes and share what you've learned, and somebody else will organize it later. :) If you want to ask questions and share tips over chat with other developers, see How to use IRC for how to connect to #theos and #iphonedev.

Hey developer, you can add your knowledge here! Yes, you! Make an account and edit this page!

It's also helpful to double-check the statements here and add more info! These are notes and drafts from early research - feel free to update them.

If you want to see what's been recently updated on this page, you can use the wiki's history feature to compare the revisions (to look at the diff) since the last time you visited this page.

Unlike previous instances of "Updating extensions for iOS X", this specific version has several internal changes as well as a different public jailbreak method which demands a separate page for it.

What has changed in iOS 9.3.3? (Classes, frameworks, etc.)

  • SBUIController's -finishLaunching ceased to exist. Consider using notifications to perform initializations of your tweaks if you were hooking this method. (com.apple.accessibility.system.app.server.ready, com.apple.frontboard.systemappservices.serverNotifyToken, SBSpringBoardDidLaunchNotification, com.apple.springboard.finishedstartup, com.apple.sharing.SpringBoard.started, com.apple.springboard.homescreenunlocked are some of the notifications to register for.)
  • SpringBoard's -_relaunchSpringBoardNow ceased to exist. Use [[FBSystemService sharedInstance] exitAndRelaunch:YES] (AFAIK there is no difference between YES and NO at the end).
  • To reboot, use [[FBSystemService sharedInstance] shutdownAndReboot:YES] and to shutdown, use [[FBSystemService sharedInstance] shutdownAndReboot:NO]
  • SBOrientationLockManager's -isLocked ceased to exist. There is now -isUserLocked (without lock override check) and -isEffectivelyLocked (with lock override check).
  • SBScreenShotter has been replaced with SBScreenshotManager. An instance of SBScreenshotManager is available through SpringBoard's screenshotManager property. To take a screenshot, use SBScreenshotManager's saveScreenshotsWithCompletion: method
  • SBWallpaperController now applies styles based on the current bundleIdentifier, rather than globally. For example: [wallpaperController setHomescreenStyle:1 priority:5 withAnimationFactory:nil]; becomes [wallpaperController setHomescreenStyle:1 forBundleIdentifier:@"com.apple.SpringBoard" withPriority:5 animationFactory:nil];