Dev:Updating extensions for iOS 13

Let's collect knowledge like we did with iOS 12, iOS 11, iOS 10, iOS 9, iOS 8 and 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!'''

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.

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

SBApplication -(FBScene*)mainScene removed
was removed in iOS 13. It can be accessed from a SBApplication by replacing  with the following:

being the name of your SBApplication instance.

SBRootIconListView
This class was removed entirely with iOS 13. Root Icon Lists are now instances of.

SBIconListFlowLayout
Layout handling in iOS 13 now uses. These are provided by an instance of.

This alone handles row/column count. It also contains a, which controls the spacing and location of icons.

SBIconListGridLayoutConfiguration
This class contains several properties that can be modified to alter the layout.

Selectors of interest include  and. These return an instance of  that can be used to manipulate layout.

Generating an apps icon image
Previously an icon image could be generated from an icon object like so

In iOS 13 this method was changed to

UIDevice issue
may causes some process crashes when it called in %ctor

To reproduce that, add this to your tweak, then change your wallpaper via Settings. The device gets stuck and reboot.