This repository has been archived by the owner on May 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
headers.h
1457 lines (1292 loc) · 52.9 KB
/
headers.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#import <SpringBoard/SpringBoard.h>
#import <SpringBoard/SBIconModel.h>
#import <SpringBoard/SBIcon.h>
#import <SpringBoard/SBIconController.h>
#import <SpringBoard/SBApplicationIcon.h>
#import <SpringBoard/SBIconImageView.h>
#import <UIKit/UIImage.h>
#import <UIKit/UIImageView.h>
#import <SpringBoard/SBIconLabel.h>
#import <SpringBoard/SBApplication.h>
#import <QuartzCore/QuartzCore.h>
#import <UIKit/UIKit.h>
#import <substrate.h>
#import <SpringBoard/SBApplication.h>
#include <mach/mach.h>
#include <libkern/OSCacheControl.h>
#include <stdbool.h>
#include <dlfcn.h>
#include <sys/sysctl.h>
#import <notify.h>
#import <IOKit/hid/IOHIDEvent.h>
#define RA_BASE_PATH @"/Library/Multiplexer"
#import "RALocalizer.h"
#define LOCALIZE(x) [[objc_getClass("RALocalizer") sharedInstance] localizedStringForKey:x]
#import "RAThemeManager.h"
// Note that "x" expands into the passed variable
#define THEMED(x) [[objc_getClass("RAThemeManager") sharedInstance] currentTheme].x
#import "RASBWorkspaceFetcher.h"
#define GET_SBWORKSPACE [RASBWorkspaceFetcher getCurrentSBWorkspaceImplementationInstanceForThisOS]
#define GET_STATUSBAR_ORIENTATION (UIApplication.sharedApplication._accessibilityFrontMostApplication == nil ? UIApplication.sharedApplication.statusBarOrientation : UIApplication.sharedApplication._accessibilityFrontMostApplication.statusBarOrientation)
#if DEBUG
#define NSLog NSLog
#else
#define NSLog(...)
#endif
#if MULTIPLEXER_CORE
extern BOOL $__IS_SPRINGBOARD;
#define IS_SPRINGBOARD $__IS_SPRINGBOARD
#else
#define IS_SPRINGBOARD [NSBundle.mainBundle.bundleIdentifier isEqual:@"com.apple.springboard"]
#endif
#define ON_MAIN_THREAD(block) \
{ \
dispatch_block_t _blk = block; \
if (NSThread.isMainThread) \
_blk(); \
else \
dispatch_sync(dispatch_get_main_queue(), _blk); \
}
#define IF_SPRINGBOARD if (IS_SPRINGBOARD)
#define IF_NOT_SPRINGBOARD if (!IS_SPRINGBOARD)
#define IF_THIS_PROCESS(x) if ([[x objectForKey:@"bundleIdentifier"] isEqual:NSBundle.mainBundle.bundleIdentifier])
// ugh, i got so tired of typing this in by hand, plus it expands method declarations by a LOT.
#define unsafe_id __unsafe_unretained id
#define kBGModeUnboundedTaskCompletion @"unboundedTaskCompletion"
#define kBGModeContinuous @"continuous"
#define kBGModeFetch @"fetch"
#define kBGModeRemoteNotification @"remote-notification"
#define kBGModeExternalAccessory @"external-accessory"
#define kBGModeVoIP @"voip"
#define kBGModeLocation @"location"
#define kBGModeAudio @"audio"
#define kBGModeBluetoothCentral @"bluetooth-central"
#define kBGModeBluetoothPeripheral @"bluetooth-peripheral"
// newsstand-content
extern "C" CFNotificationCenterRef CFNotificationCenterGetDistributedCenter(void);
#define RADIANS_TO_DEGREES(radians) ((radians) * (180.0 / M_PI))
#define DEGREES_TO_RADIANS(radians) ((radians) * (M_PI / 180))
void SET_BACKGROUNDED(id settings, BOOL val);
#define SHARED_INSTANCE2(cls, extracode) \
static cls *sharedInstance = nil; \
static dispatch_once_t onceToken = 0; \
dispatch_once(&onceToken, ^{ \
sharedInstance = [[cls alloc] init]; \
extracode; \
}); \
return sharedInstance;
#define SHARED_INSTANCE(cls) SHARED_INSTANCE2(cls, );
#define SYSTEM_VERSION_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedSame)
#define SYSTEM_VERSION_GREATER_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedDescending)
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
#define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)
#define SYSTEM_VERSION_LESS_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedDescending)
extern "C" void BKSHIDServicesCancelTouchesOnMainDisplay();
////////////////////////////////////////////////////////////////////////////////////////////////
@interface UIRemoteKeyboardWindow : UIWindow //UITextEffectsWindow
+(instancetype)remoteKeyboardWindowForScreen:(id)arg1 create:(BOOL)arg2;
@end
@interface SBMainSwitcherGestureCoordinator : NSObject
+ (id)sharedInstance;
- (void)_releaseOrientationLock;
- (void)_lockOrientation;
@end
@interface SBOrientationLockManager : NSObject
{
NSMutableSet *_lockOverrideReasons;
long long _userLockedOrientation;
}
+ (id)sharedInstance;
- (_Bool)_effectivelyLocked;
- (void)_updateLockStateWithOrientation:(long long)arg1 forceUpdateHID:(_Bool)arg2 changes:(id/*block*/)arg3;
- (void)_updateLockStateWithChanges:(id/*block*/)arg1;
- (void)updateLockOverrideForCurrentDeviceOrientation;
- (_Bool)lockOverrideEnabled;
- (void)enableLockOverrideForReason:(id)arg1 forceOrientation:(long long)arg2;
- (void)enableLockOverrideForReason:(id)arg1 suggestOrientation:(long long)arg2;
- (void)setLockOverrideEnabled:(_Bool)arg1 forReason:(id)arg2;
- (long long)userLockOrientation;
- (_Bool)isLocked;
- (void)unlock;
- (void)lock:(long long)arg1;
- (void)lock;
- (void)dealloc;
- (id)init;
- (void)restoreStateFromPrefs;
@end
@interface SBMedusaSettings : NSObject
{
_Bool _enableSideApps;
_Bool _enableBreadcrumbs;
_Bool _enablePinningSideApps;
_Bool _debugSceneColors;
_Bool _debugRotationCenter;
_Bool _debugColorRotationRegions;
_Bool _clipRotationRegions;
_Bool _fencesRotation;
NSString *_desiredBundleIdentifier;
double _zoomOutRotationFactor;
double _rotationSlowdownFactor;
double _spaceAroundSideGrabberToAllowPullIn;
unsigned long long _millisecondsBetweenResizeSteps;
double _slideOffResizeThreshold;
double _gapSwipeBuffer;
}
+ (id)settingsControllerModule;
@property(nonatomic) double gapSwipeBuffer; // @synthesize gapSwipeBuffer=_gapSwipeBuffer;
@property(nonatomic) double slideOffResizeThreshold; // @synthesize slideOffResizeThreshold=_slideOffResizeThreshold;
@property(nonatomic) unsigned long long millisecondsBetweenResizeSteps; // @synthesize millisecondsBetweenResizeSteps=_millisecondsBetweenResizeSteps;
@property(nonatomic) _Bool fencesRotation; // @synthesize fencesRotation=_fencesRotation;
@property(nonatomic) double spaceAroundSideGrabberToAllowPullIn; // @synthesize spaceAroundSideGrabberToAllowPullIn=_spaceAroundSideGrabberToAllowPullIn;
@property(nonatomic) double rotationSlowdownFactor; // @synthesize rotationSlowdownFactor=_rotationSlowdownFactor;
@property(nonatomic) double zoomOutRotationFactor; // @synthesize zoomOutRotationFactor=_zoomOutRotationFactor;
@property(nonatomic) _Bool clipRotationRegions; // @synthesize clipRotationRegions=_clipRotationRegions;
@property(nonatomic) _Bool debugColorRotationRegions; // @synthesize debugColorRotationRegions=_debugColorRotationRegions;
@property(nonatomic) _Bool debugRotationCenter; // @synthesize debugRotationCenter=_debugRotationCenter;
@property(nonatomic) _Bool debugSceneColors; // @synthesize debugSceneColors=_debugSceneColors;
@property(copy, nonatomic) NSString *desiredBundleIdentifier; // @synthesize desiredBundleIdentifier=_desiredBundleIdentifier;
@property(nonatomic) _Bool enablePinningSideApps; // @synthesize enablePinningSideApps=_enablePinningSideApps;
@property(nonatomic) _Bool enableBreadcrumbs; // @synthesize enableBreadcrumbs=_enableBreadcrumbs;
@property(nonatomic) _Bool enableSideApps; // @synthesize enableSideApps=_enableSideApps;
- (_Bool)anyRotationDebuggingEnabled;
- (void)setDefaultValues;
@end
@interface SBToAppsWorkspaceTransaction : NSObject
-(NSArray*) toApplications;
@end
@interface SBFWallpaperView : UIView
- (void)setGeneratesBlurredImages:(BOOL)arg1;
- (void)_startGeneratingBlurredImages;
- (void)prepareToAppear;
@end
@interface SBControlCenterController : UIViewController
+ (id)sharedInstance;
@property(nonatomic, getter=isPresented) _Bool presented; // @synthesize presented=_presented;
@property(nonatomic, getter=isUILocked) _Bool UILocked; // @synthesize UILocked=_uiLocked;
- (void)dismissAnimated:(_Bool)arg1;
- (void)presentAnimated:(_Bool)arg1;
- (void)presentAnimated:(_Bool)arg1 completion:(id)arg2;
- (void)hideGrabberAnimated:(_Bool)arg1 completion:(id)arg2;
- (void)hideGrabberAnimated:(_Bool)arg1;
- (void)showGrabberAnimated:(_Bool)arg1;
- (void)preventDismissalOnLock:(_Bool)arg1 forReason:(id)arg2;
- (void)_dismissOnLock;
- (void)_uiRelockedNotification:(id)arg1;
- (void)_lockStateChangedNotification:(id)arg1;
- (_Bool)isGrabberVisible;
- (_Bool)isPresentingControllerTransitioning;
- (_Bool)isVisible;
- (void)loadView;
- (_Bool)handleMenuButtonTap;
- (void)removeObserver:(id)arg1;
- (void)addObserver:(id)arg1;
- (_Bool)isAvailableWhileLocked;
// iOS 9
- (_Bool)_shouldShowGrabberOnFirstSwipe;
@end
@interface BKSProcess : NSObject { //BSBaseXPCClient {
int _pid;
NSString *_bundlePath;
NSObject<OS_dispatch_queue> *_clientQueue;
bool _workspaceLocked;
bool _connectedToExternalAccessories;
bool _nowPlayingWithAudio;
bool _recordingAudio;
bool _supportsTaskSuspension;
int _visibility;
int _taskState;
NSObject *_delegate;
long long _terminationReason;
long long _exitStatus;
}
@property (nonatomic, weak) NSObject * delegate;
@property int visibility;
@property long long terminationReason;
@property long long exitStatus;
@property bool workspaceLocked;
@property bool connectedToExternalAccessories;
@property bool nowPlayingWithAudio;
@property bool recordingAudio;
@property bool supportsTaskSuspension;
@property int taskState;
@property(readonly) double backgroundTimeRemaining;
+ (id)busyExtensionInstances:(id)arg1;
+ (void)setTheSystemApp:(int)arg1 identifier:(id)arg2;
+ (double)backgroundTimeRemaining;
- (void)setVisibility:(int)arg1;
- (int)visibility;
- (void)_sendMessageType:(int)arg1 withMessage:(id)arg2 withReplyHandler:(id)arg3 waitForReply:(bool)arg4;
- (long long)exitStatus;
- (id)initWithPID:(int)arg1 bundlePath:(id)arg2 visibility:(int)arg3 workspaceLocked:(bool)arg4 queue:(id)arg5;
- (bool)supportsTaskSuspension;
- (void)setTerminationReason:(long long)arg1;
- (void)setConnectedToExternalAccessories:(bool)arg1;
- (void)setNowPlayingWithAudio:(bool)arg1;
- (void)setRecordingAudio:(bool)arg1;
- (void)setWorkspaceLocked:(bool)arg1;
- (void)setTaskState:(int)arg1;
- (void)queue_connectionWasCreated;
- (void)queue_connectionWasInterrupted;
- (void)queue_handleMessage:(id)arg1;
- (bool)recordingAudio;
- (bool)nowPlayingWithAudio;
- (bool)connectedToExternalAccessories;
- (bool)workspaceLocked;
- (void)setExitStatus:(long long)arg1;
- (void)_handleDebuggingStateChanged:(id)arg1;
- (void)_handleExpirationWarning:(id)arg1;
- (void)_handleSuspendedStateChanged:(id)arg1;
- (void)_sendMessageType:(int)arg1 withMessage:(id)arg2;
- (int)taskState;
- (double)backgroundTimeRemaining;
- (void)setSupportsTaskSuspension:(bool)arg1;
- (id)delegate;
- (id)init;
- (void)setDelegate:(NSObject*)arg1;
- (void)dealloc;
- (long long)terminationReason;
@end
@interface SBAppSwitcherSnapshotView : UIView
- (void)setOrientation:(long long)arg1 orientationBehavior:(int)arg2;
- (void)_loadSnapshotAsync;
- (void)_loadZoomUpSnapshotSync;
- (void)_loadSnapshotSync;
- (id)initWithDisplayItem:(id)arg1 application:(id)arg2 orientation:(long long)arg3 preferringDownscaledSnapshot:(_Bool)arg4 async:(_Bool)arg5 withQueue:(id)arg6;
@end
@interface _SBFVibrantSettings : NSObject
{
int _style;
UIColor *_referenceColor;
id _legibilitySettings; // _UILegibilitySettings *_legibilitySettings;
float _referenceContrast;
UIColor *_tintColor;
UIColor *_shimmerColor;
UIColor *_chevronShimmerColor;
UIColor *_highlightColor;
UIColor *_highlightLimitingColor;
}
+ (id)vibrantSettingsWithReferenceColor:(id)arg1 referenceContrast:(float)arg2 legibilitySettings:(id)arg3;
@property(retain, nonatomic) UIColor *highlightLimitingColor; // @synthesize highlightLimitingColor=_highlightLimitingColor;
@property(retain, nonatomic) UIColor *highlightColor; // @synthesize highlightColor=_highlightColor;
@property(retain, nonatomic) UIColor *chevronShimmerColor; // @synthesize chevronShimmerColor=_chevronShimmerColor;
@property(retain, nonatomic) UIColor *shimmerColor; // @synthesize shimmerColor=_shimmerColor;
@property(retain, nonatomic) UIColor *tintColor; // @synthesize tintColor=_tintColor;
@property(readonly, nonatomic) float referenceContrast; // @synthesize referenceContrast=_referenceContrast;
//@property(readonly, nonatomic) _UILegibilitySettings *legibilitySettings; // @synthesize legibilitySettings=_legibilitySettings;
@property(readonly, nonatomic) UIColor *referenceColor; // @synthesize referenceColor=_referenceColor;
@property(readonly, nonatomic) int style; // @synthesize style=_style;
- (id)highlightLimitingViewWithFrame:(struct CGRect)arg1;
- (id)tintViewWithFrame:(struct CGRect)arg1;
- (id)_computeSourceColorDodgeColorForDestinationColor:(id)arg1 producingLuminanceChange:(float)arg2;
- (int)_style;
- (unsigned int)hash;
- (BOOL)isEqual:(id)arg1;
- (void)dealloc;
- (id)initWithReferenceColor:(id)arg1 referenceContrast:(float)arg2 legibilitySettings:(id)arg3;
@end
typedef struct {
BOOL itemIsEnabled[25];
char timeString[64];
int gsmSignalStrengthRaw;
int gsmSignalStrengthBars;
char serviceString[100];
char serviceCrossfadeString[100];
char serviceImages[2][100];
char operatorDirectory[1024];
unsigned serviceContentType;
int wifiSignalStrengthRaw;
int wifiSignalStrengthBars;
unsigned dataNetworkType;
int batteryCapacity;
unsigned batteryState;
char batteryDetailString[150];
int bluetoothBatteryCapacity;
int thermalColor;
unsigned thermalSunlightMode : 1;
unsigned slowActivity : 1;
unsigned syncActivity : 1;
char activityDisplayId[256];
unsigned bluetoothConnected : 1;
unsigned displayRawGSMSignal : 1;
unsigned displayRawWifiSignal : 1;
unsigned locationIconType : 1;
unsigned quietModeInactive : 1;
unsigned tetheringConnectionCount;
} StatusBarData;
@interface UIStatusBar : UIView
+ (CGFloat)heightForStyle:(int)arg1 orientation:(int)arg2;
- (void)setOrientation:(int)arg1;
- (void)requestStyle:(int)arg1;
-(void) forceUpdateToData:(StatusBarData*)arg1 animated:(BOOL)arg2;
@end
@interface UIStatusBarServer
+(StatusBarData*) getStatusBarData;
@end
@interface SBNotificationCenterController : NSObject
+(id) sharedInstance;
-(BOOL) isVisible;
@end
@interface UIStatusBarItem : NSObject
-(NSString*)indicatorName;
@end
@interface UIScreen (ohBoy)
-(CGRect) _referenceBounds;
- (CGPoint)convertPoint:(CGPoint)arg1 toCoordinateSpace:(id)arg2;
+ (CGPoint)convertPoint:(CGPoint)arg1 toView:(id)arg2;
-(CGRect) _interfaceOrientedBounds; // ios 8
-(CGRect) RA_interfaceOrientedBounds; // ios 8 + 9 (wrapper)
@end
@interface UIAutoRotatingWindow : UIWindow
- (instancetype)_initWithFrame:(CGRect)arg1 attached:(BOOL)arg2;
- (void)updateForOrientation:(UIInterfaceOrientation)arg1;
@end
@interface LSApplicationProxy
+ (id)applicationProxyForIdentifier:(id)arg1;
- (NSArray*) UIBackgroundModes;
@property (nonatomic, readonly) NSURL *appStoreReceiptURL;
@property (nonatomic, readonly) NSURL *bundleContainerURL;
@property (nonatomic, readonly) NSURL *bundleURL;
@end
@interface UIViewController ()
- (void)setInterfaceOrientation:(UIInterfaceOrientation)arg1;
- (void)_setInterfaceOrientationOnModalRecursively:(int)arg1;
- (void)_updateInterfaceOrientationAnimated:(BOOL)arg1;
@end
@interface SBWallpaperController
+(id) sharedInstance;
-(void) beginRequiringWithReason:(NSString*)reason;
-(void) endRequiringWithReason:(NSString*)reason;
@end
@interface BBAction
+ (id)actionWithCallblock:(id /* block */)arg1;
+ (id)actionWithTextReplyCallblock:(id)arg1;
+ (id)actionWithLaunchBundleID:(id)arg1 callblock:(id)arg2;
+ (id)actionWithLaunchURL:(id)arg1 callblock:(id)arg2;
+ (id)actionWithCallblock:(id)arg1;
@end
typedef enum
{
NSNotificationSuspensionBehaviorDrop = 1,
NSNotificationSuspensionBehaviorCoalesce = 2,
NSNotificationSuspensionBehaviorHold = 3,
NSNotificationSuspensionBehaviorDeliverImmediately = 4
} NSNotificationSuspensionBehavior;
@interface NSDistributedNotificationCenter : NSNotificationCenter
+ (instancetype)defaultCenter;
- (void)addObserver:(id)notificationObserver selector:(SEL)notificationSelector name:(NSString *)notificationName object:(NSString *)notificationSender suspensionBehavior:(NSNotificationSuspensionBehavior)suspendedDeliveryBehavior;
- (void)removeObserver:(id)notificationObserver name:(NSString *)notificationName object:(NSString *)notificationSender;
- (void)postNotificationName:(NSString *)notificationName object:(NSString *)notificationSender userInfo:(NSDictionary *)userInfo deliverImmediately:(BOOL)deliverImmediately;
@end
@interface SBLockStateAggregator
-(void) _updateLockState;
-(BOOL) hasAnyLockState;
@end
@interface BBBulletinRequest : NSObject
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *message;
@property (nonatomic, copy) NSString *sectionID;
@property (nonatomic, copy) BBAction *defaultAction;
@property (nonatomic, copy) NSDate *date;
@property(copy) BBAction * acknowledgeAction;
@property(copy) BBAction * replyAction;
@property(retain) NSDate * expirationDate;
@end
@interface SBBulletinBannerController : NSObject
+ (SBBulletinBannerController *)sharedInstance;
- (void)observer:(id)observer addBulletin:(BBBulletinRequest *)bulletin forFeed:(int)feed;
-(void) observer:(id)observer addBulletin:(BBBulletinRequest*) bulletin forFeed:(int)feed playLightsAndSirens:(BOOL)guess1 withReply:(id)guess2;
@end
@interface SBAppSwitcherWindow : UIWindow
@end
@interface SBChevronView : UIView
@property(retain, nonatomic) _SBFVibrantSettings *vibrantSettings;
-(void) setState:(int)state animated:(BOOL)animated;
- (void)setBackgroundView:(id)arg1;
@property(retain, nonatomic) UIColor *color;
@end
@interface SBControlCenterGrabberView : UIView
-(SBChevronView*) chevronView;
- (void)_setStatusState:(int)arg1;
@end
@interface SBAppSwitcherController
- (void)forceDismissAnimated:(_Bool)arg1;
- (void)animateDismissalToDisplayLayout:(id)arg1 withCompletion:(id/*block*/)arg2;
- (void)animatePresentationFromDisplayLayout:(id)arg1 withViews:(id)arg2 withCompletion:(id/*block*/)arg3;
@property(nonatomic, copy) NSObject *startingDisplayLayout; // @synthesize startingDisplayLayout=_startingDisplayLayout;
- (void)switcherWasPresented:(_Bool)arg1;
@end
@interface SBUIController : NSObject
+(id) sharedInstance;
+ (id)_zoomViewWithSplashboardLaunchImageForApplication:(id)arg1 sceneID:(id)arg2 screen:(id)arg3 interfaceOrientation:(long long)arg4 includeStatusBar:(_Bool)arg5 snapshotFrame:(struct CGRect *)arg6;
-(id) switcherController;
- (id)_appSwitcherController;
-(void) activateApplicationAnimated:(SBApplication*)app;
- (id)switcherWindow;
- (void)_animateStatusBarForSuspendGesture;
- (void)_showControlCenterGestureCancelled;
- (void)_showControlCenterGestureFailed;
- (void)_hideControlCenterGrabber;
- (void)_showControlCenterGestureEndedWithLocation:(CGPoint)arg1 velocity:(CGPoint)arg2;
- (void)_showControlCenterGestureChangedWithLocation:(CGPoint)arg1 velocity:(CGPoint)arg2 duration:(CGFloat)arg3;
- (void)_showControlCenterGestureBeganWithLocation:(CGPoint)arg1;
- (void)restoreContentUpdatingStatusBar:(_Bool)arg1;
-(void) restoreContentAndUnscatterIconsAnimated:(BOOL)arg1;
- (_Bool)shouldShowControlCenterTabControlOnFirstSwipe;- (_Bool)isAppSwitcherShowing;
-(BOOL) _activateAppSwitcher;
- (void)_releaseTransitionOrientationLock;
- (void)_releaseSystemGestureOrientationLock;
- (void)releaseSwitcherOrientationLock;
- (void)_lockOrientationForSwitcher;
- (void)_lockOrientationForSystemGesture;
- (void)_lockOrientationForTransition;
- (void)_dismissSwitcherAnimated:(_Bool)arg1;
- (void)dismissSwitcherAnimated:(_Bool)arg1;
- (void)_dismissAppSwitcherImmediately;
- (void)dismissSwitcherForAlert:(id)arg1;
- (void)activateApplication:(id)arg1;
@end
@interface SBDisplayItem : NSObject <NSCopying>
+ (id)displayItemWithType:(NSString *)arg1 displayIdentifier:(id)arg2;
@property(readonly, nonatomic) NSString *displayIdentifier; // @synthesize displayIdentifier=_displayIdentifier;
@property(readonly, nonatomic) NSString *type; // @synthesize type=_type;
@end
@interface SBLockScreenManager
+(id) sharedInstance;
-(BOOL) isUILocked;
@end
@interface BKSWorkspace : NSObject
- (NSString *)topActivatingApplication;
@end
@interface SpringBoard (OrientationSupport)
- (UIInterfaceOrientation)activeInterfaceOrientation;
- (void)noteInterfaceOrientationChanged:(UIInterfaceOrientation)orientation;
@end
typedef struct {
int type;
int modifier;
NSUInteger pathIndex;
NSUInteger pathIdentity;
CGPoint location;
CGPoint previousLocation;
CGPoint unrotatedLocation;
CGPoint previousUnrotatedLocation;
double totalDistanceTraveled;
UIInterfaceOrientation interfaceOrientation;
UIInterfaceOrientation previousInterfaceOrientation;
double timestamp;
BOOL isValid;
} SBActiveTouch;
typedef NS_ENUM(NSInteger, UIScreenEdgePanRecognizerType) {
UIScreenEdgePanRecognizerTypeMultitasking,
UIScreenEdgePanRecognizerTypeNavigation,
UIScreenEdgePanRecognizerTypeOther
};
@protocol _UIScreenEdgePanRecognizerDelegate;
@interface _UIScreenEdgePanRecognizer : NSObject
- (id)initWithType:(UIScreenEdgePanRecognizerType)type;
- (void)incorporateTouchSampleAtLocation:(CGPoint)location timestamp:(double)timestamp modifier:(NSInteger)modifier interfaceOrientation:(UIInterfaceOrientation)orientation;
- (void)incorporateTouchSampleAtLocation:(CGPoint)location timestamp:(double)timestamp modifier:(NSInteger)modifier interfaceOrientation:(UIInterfaceOrientation)orientation forceState:(int)arg5;
- (void)reset;
@property (nonatomic, assign) id <_UIScreenEdgePanRecognizerDelegate> delegate;
@property (nonatomic, readonly) NSInteger state;
@property (nonatomic) UIRectEdge targetEdges;
@property (nonatomic) CGRect screenBounds;
@end
@protocol _UIScreenEdgePanRecognizerDelegate <NSObject>
@optional
- (void)screenEdgePanRecognizerStateDidChange:(_UIScreenEdgePanRecognizer *)screenEdgePanRecognizer;
@end
@interface UIDevice (UIDevicePrivate)
- (void)setOrientation:(UIInterfaceOrientation)orientation animated:(BOOL)animated;
@end
@interface _UIBackdropViewSettings : NSObject
@property (nonatomic) CGFloat grayscaleTintAlpha;
@property (nonatomic) CGFloat grayscaleTintLevel;
- (void)setBlurQuality:(id)arg1;
+ (id)settingsForStyle:(int)arg1;
+ (id)settingsForStyle:(int)arg1 graphicsQuality:(int)arg2;
- (void)setBlurRadius:(CGFloat)arg1;
@end
@interface _UIBackdropView : UIView
@property (retain, nonatomic) _UIBackdropViewSettings *outputSettings;
@property (retain, nonatomic) _UIBackdropViewSettings *inputSettings;
@property (nonatomic) int blurHardEdges;
- (void) setBlursWithHardEdges:(BOOL)arg1;
- (void)setBlurQuality:(id)arg1;
-(void) setBlurRadius:(CGFloat)radius;
-(void) setBlurRadiusSetOnce:(BOOL)v;
-(id) initWithStyle:(NSInteger)style;
@property (nonatomic) BOOL autosizesToFitSuperview;
@property (nonatomic) BOOL blursBackground;
- (void)_setBlursBackground:(BOOL)arg1;
- (void)setBlurFilterWithRadius:(float)arg1 blurQuality:(id)arg2 blurHardEdges:(int)arg3;
@end
@interface SBOffscreenSwipeGestureRecognizer : NSObject // SBPanGestureRecognizer <_UIScreenEdgePanRecognizerDelegate>
-(id) initForOffscreenEdge:(int)edge;
-(void) setTypes:(NSInteger)types;
-(void) setMinTouches:(NSInteger)amount;
-(void) setHandler:(id)arg;
-(void) setCanBeginCondition:(id)arg;
-(void) setShouldUseUIKitHeuristics:(BOOL)val;
@end
@interface UIInternalEvent : UIEvent {
__GSEvent *_gsEvent;
__IOHIDEvent *_hidEvent;
}
- (__GSEvent*)_gsEvent;
- (__IOHIDEvent*)_hidEvent;
- (id)_screen;
- (void)_setGSEvent:(__GSEvent*)arg1;
- (void)_setHIDEvent:(__IOHIDEvent*)arg1;
@end
@interface UIKeyboardImpl
+ (id)activeInstance;
+ (id)sharedInstance;
- (void)handleKeyEvent:(id)arg1;
- (void)handleKeyWithString:(id)arg1 forKeyEvent:(id)arg2 executionContext:(id)arg3;
- (void)deleteBackward;
-(void) setInHardwareKeyboardMode:(BOOL)arg1;
@end
@interface UIPhysicalKeyboardEvent
+ (id)_eventWithInput:(id)arg1 inputFlags:(int)arg2;
@property(retain, nonatomic) NSString *_privateInput; // @synthesize _privateInput;
@property(nonatomic) int _inputFlags; // @synthesize _inputFlags;
@property(nonatomic) int _modifierFlags; // @synthesize _modifierFlags;
@property(retain, nonatomic) NSString *_markedInput; // @synthesize _markedInput;
@property(retain, nonatomic) NSString *_commandModifiedInput; // @synthesize _commandModifiedInput;
@property(retain, nonatomic) NSString *_shiftModifiedInput; // @synthesize _shiftModifiedInput;
@property(retain, nonatomic) NSString *_unmodifiedInput; // @synthesize _unmodifiedInput;
@property(retain, nonatomic) NSString *_modifiedInput; // @synthesize _modifiedInput;
@property(readonly, nonatomic) int _gsModifierFlags;
- (void)_privatizeInput;
- (void)dealloc;
- (id)_cloneEvent;
- (BOOL)isEqual:(id)arg1;
- (BOOL)_matchesKeyCommand:(id)arg1;
- (void)_setHIDEvent:(struct __IOHIDEvent *)arg1 keyboard:(struct __GSKeyboard *)arg2;
@property(readonly, nonatomic) long _keyCode;
@property(readonly, nonatomic) BOOL _isKeyDown;
- (int)type;
@end
@interface FBWorkspaceEvent : NSObject
+ (instancetype)eventWithName:(NSString *)label handler:(id)handler;
@end
@interface FBSceneManager : NSObject
@end
@interface SBWorkspaceApplicationTransitionContext : NSObject
@property(nonatomic) _Bool animationDisabled; // @synthesize animationDisabled=_animationDisabled;
- (void)setEntity:(id)arg1 forLayoutRole:(int)arg2;
@end
@interface SBWorkspaceDeactivatingEntity : NSObject
@property(nonatomic) long long layoutRole; // @synthesize layoutRole=_layoutRole;
+ (id)entity;
@end
@interface SBWorkspaceHomeScreenEntity : NSObject
@end
@interface SBMainWorkspaceTransitionRequest : NSObject
- (id)initWithDisplay:(id)arg1;
@end
@interface SBAppToAppWorkspaceTransaction
- (void)begin;
- (id)initWithAlertManager:(id)alertManager exitedApp:(id)app;
- (id)initWithAlertManager:(id)arg1 from:(id)arg2 to:(id)arg3 withResult:(id)arg4;
- (id)initWithTransitionRequest:(id)arg1;
@end
@interface FBWorkspaceEventQueue : NSObject
+ (instancetype)sharedInstance;
- (void)executeOrAppendEvent:(FBWorkspaceEvent *)event;
@end
@interface SBDeactivationSettings
-(id)init;
-(void)setFlag:(int)flag forDeactivationSetting:(unsigned)deactivationSetting;
@end
@interface SBWorkspace : NSObject
+(id) sharedInstance;
-(BOOL) isUsingReachApp;
- (void)_exitReachabilityModeWithCompletion:(id)arg1;
- (void)_disableReachabilityImmediately:(_Bool)arg1;
- (void)handleReachabilityModeDeactivated;
-(void) RA_animateWidgetSelectorOut:(id)completion;
-(void) RA_setView:(UIView*)view preferredHeight:(CGFloat)preferredHeight;
-(void) RA_launchTopAppWithIdentifier:(NSString*) bundleIdentifier;
-(void) RA_showWidgetSelector;
-(void) updateViewSizes:(CGPoint)center animate:(BOOL)animate;
-(void) RA_closeCurrentView;
-(void) RA_handleLongPress:(UILongPressGestureRecognizer*)gesture;
-(void) RA_updateViewSizes;
-(void) appViewItemTap:(id)sender;
@end
@interface SBMainWorkspace : SBWorkspace // replaces SBWorkspace on iOS 9
@end
@interface SBDisplayLayout : NSObject {
int _layoutSize;
NSMutableArray* _displayItems;
NSString* _uniqueStringRepresentation;
}
@property(readonly, assign, nonatomic) NSArray* displayItems;
@property(readonly, assign, nonatomic) int layoutSize;
+(id)fullScreenDisplayLayoutForApplication:(id)application;
+(id)homeScreenDisplayLayout;
+(id)displayLayoutWithPlistRepresentation:(id)plistRepresentation;
+(id)displayLayoutWithLayoutSize:(int)layoutSize displayItems:(id)items;
-(id)displayLayoutBySettingSize:(int)size;
-(id)displayLayoutByReplacingDisplayItemOnSide:(int)side withDisplayItem:(id)displayItem;
-(id)displayLayoutByRemovingDisplayItems:(id)items;
-(id)displayLayoutByRemovingDisplayItem:(id)item;
-(id)displayLayoutByAddingDisplayItem:(id)item side:(int)side withLayout:(int)layout;
-(BOOL)isEqual:(id)equal;
-(unsigned)hash;
-(id)uniqueStringRepresentation;
-(id)_calculateUniqueStringRepresentation;
-(id)description;
-(id)copyWithZone:(NSZone*)zone;
-(void)dealloc;
-(id)plistRepresentation;
-(id)initWithLayoutSize:(int)layoutSize displayItems:(id)items;
@end
@interface FBProcessManager : NSObject
+ (id)sharedInstance;
- (void)_updateWorkspaceLockedState;
- (void)applicationProcessWillLaunch:(id)arg1;
- (void)noteProcess:(id)arg1 didUpdateState:(id)arg2;
- (void)noteProcessDidExit:(id)arg1;
- (id)_serviceClientAddedWithPID:(int)arg1 isUIApp:(BOOL)arg2 isExtension:(BOOL)arg3 bundleID:(id)arg4;
- (id)_serviceClientAddedWithConnection:(id)arg1;
- (id)_systemServiceClientAdded:(id)arg1;
- (BOOL)_isWorkspaceLocked;
- (id)createApplicationProcessForBundleID:(id)arg1 withExecutionContext:(id)arg2;
- (id)createApplicationProcessForBundleID:(id)arg1;
- (id)applicationProcessForPID:(int)arg1;
- (id)processForPID:(int)arg1;
- (id)applicationProcessesForBundleIdentifier:(id)arg1;
- (id)processesForBundleIdentifier:(id)arg1;
- (id)allApplicationProcesses;
- (id)allProcesses;
@end
@interface UIGestureRecognizerTarget : NSObject {
id _target;
}
@end
typedef NS_ENUM(NSUInteger, BKSProcessAssertionReason)
{
kProcessAssertionReasonNone = 0,
kProcessAssertionReasonAudio = 1,
kProcessAssertionReasonLocation = 2,
kProcessAssertionReasonExternalAccessory = 3,
kProcessAssertionReasonFinishTask = 4,
kProcessAssertionReasonBluetooth = 5,
kProcessAssertionReasonNetworkAuthentication = 6,
kProcessAssertionReasonBackgroundUI = 7,
kProcessAssertionReasonInterAppAudioStreaming = 8,
kProcessAssertionReasonViewServices = 9,
kProcessAssertionReasonNewsstandDownload = 10,
kProcessAssertionReasonBackgroundDownload = 11,
kProcessAssertionReasonVOiP = 12,
kProcessAssertionReasonExtension = 13,
kProcessAssertionReasonContinuityStreams = 14,
// 15-9999 unknown
kProcessAssertionReasonActivation = 10000,
kProcessAssertionReasonSuspend = 10001,
kProcessAssertionReasonTransientWakeup = 10002,
kProcessAssertionReasonVOiP_PreiOS8 = 10003,
kProcessAssertionReasonPeriodicTask_iOS8 = kProcessAssertionReasonVOiP_PreiOS8,
kProcessAssertionReasonFinishTaskUnbounded = 10004,
kProcessAssertionReasonContinuous = 10005,
kProcessAssertionReasonBackgroundContentFetching = 10006,
kProcessAssertionReasonNotificationAction = 10007,
// 10008-49999 unknown
kProcessAssertionReasonFinishTaskAfterBackgroundContentFetching = 50000,
kProcessAssertionReasonFinishTaskAfterBackgroundDownload = 50001,
kProcessAssertionReasonFinishTaskAfterPeriodicTask = 50002,
kProcessAssertionReasonAFterNoficationAction = 50003,
// 50004+ unknown
};
typedef NS_ENUM(NSUInteger, ProcessAssertionFlags)
{
ProcessAssertionFlagNone = 0,
ProcessAssertionFlagPreventSuspend = 1 << 0,
ProcessAssertionFlagPreventThrottleDownCPU = 1 << 1,
ProcessAssertionFlagAllowIdleSleep = 1 << 2,
ProcessAssertionFlagWantsForegroundResourcePriority = 1 << 3
};
@interface FBWindowContextHostManager
- (id)hostViewForRequester:(id)arg1 enableAndOrderFront:(BOOL)arg2;
- (void)resumeContextHosting;
- (id)_hostViewForRequester:(id)arg1 enableAndOrderFront:(BOOL)arg2;
- (id)snapshotViewWithFrame:(CGRect)arg1 excludingContexts:(id)arg2 opaque:(BOOL)arg3;
- (id)snapshotUIImageForFrame:(struct CGRect)arg1 excludingContexts:(id)arg2 opaque:(BOOL)arg3 outTransform:(struct CGAffineTransform *)arg4;
- (id)visibleContexts;
- (void)orderRequesterFront:(id)arg1;
- (void)enableHostingForRequester:(id)arg1 orderFront:(BOOL)arg2;
- (void)enableHostingForRequester:(id)arg1 priority:(int)arg2;
- (void)disableHostingForRequester:(id)arg1;
- (void)_updateHostViewFrameForRequester:(id)arg1;
- (void)invalidate;
@property(copy, nonatomic) NSString *identifier; // @synthesize identifier=_identifier;
@end
@interface FBSSceneSettings : NSObject <NSCopying, NSMutableCopying>
{
CGRect _frame;
CGPoint _contentOffset;
float _level;
int _interfaceOrientation;
BOOL _backgrounded;
BOOL _occluded;
BOOL _occludedHasBeenCalculated;
NSSet *_ignoreOcclusionReasons;
NSArray *_occlusions;
//BSSettings *_otherSettings;
//BSSettings *_transientLocalSettings;
}
+ (BOOL)_isMutable;
+ (id)settings;
@property(readonly, copy, nonatomic) NSArray *occlusions; // @synthesize occlusions=_occlusions;
@property(readonly, nonatomic, getter=isBackgrounded) BOOL backgrounded; // @synthesize backgrounded=_backgrounded;
@property(readonly, nonatomic) int interfaceOrientation; // @synthesize interfaceOrientation=_interfaceOrientation;
@property(readonly, nonatomic) float level; // @synthesize level=_level;
@property(readonly, nonatomic) CGPoint contentOffset; // @synthesize contentOffset=_contentOffset;
@property(readonly, nonatomic) CGRect frame; // @synthesize frame=_frame;
- (id)valueDescriptionForFlag:(int)arg1 object:(id)arg2 ofSetting:(unsigned int)arg3;
- (id)keyDescriptionForSetting:(unsigned int)arg1;
- (id)description;
- (BOOL)isEqual:(id)arg1;
- (unsigned int)hash;
- (id)_descriptionOfSettingsWithMultilinePrefix:(id)arg1;
- (id)transientLocalSettings;
- (BOOL)isIgnoringOcclusions;
- (id)ignoreOcclusionReasons;
- (id)otherSettings;
- (BOOL)isOccluded;
- (CGRect)bounds;
- (void)dealloc;
- (id)init;
- (id)initWithSettings:(id)arg1;
@end
@interface FBSMutableSceneSettings : FBSSceneSettings
{
}
+ (BOOL)_isMutable;
- (id)mutableCopyWithZone:(struct _NSZone *)arg1;
- (id)copyWithZone:(struct _NSZone *)arg1;
@property(copy, nonatomic) NSArray *occlusions;
- (id)transientLocalSettings;
- (id)ignoreOcclusionReasons;
- (id)otherSettings;
@property(nonatomic, getter=isBackgrounded) BOOL backgrounded;
@property(nonatomic) int interfaceOrientation;
@property(nonatomic) float level;
@property(nonatomic) struct CGPoint contentOffset;
@property(nonatomic) struct CGRect frame;
@end
@interface UIMutableApplicationSceneSettings : FBSMutableSceneSettings
@end
@interface FBProcess : NSObject
@end
@interface FBScene
-(FBWindowContextHostManager*) contextHostManager;
@property(readonly, retain, nonatomic) FBSMutableSceneSettings *mutableSettings; // @synthesize mutableSettings=_mutableSettings;
- (void)updateSettings:(id)arg1 withTransitionContext:(id)arg2;
- (void)_applyMutableSettings:(id)arg1 withTransitionContext:(id)arg2 completion:(id)arg3;
@property (nonatomic, readonly) NSString *identifier;
@property (nonatomic, readonly, retain) FBProcess *clientProcess;
@end
@interface SBApplication ()
-(void) _setDeactivationSettings:(SBDeactivationSettings*)arg1;
-(void) clearDeactivationSettings;
-(FBScene*) mainScene;
-(id) mainScreenContextHostManager;
-(id) mainSceneID;
- (void)activate;
- (void)processDidLaunch:(id)arg1;
- (void)processWillLaunch:(id)arg1;
- (void)resumeForContentAvailable;
- (void)resumeToQuit;
- (void)_sendDidLaunchNotification:(_Bool)arg1;
- (void)notifyResumeActiveForReason:(long long)arg1;
@property(readonly, nonatomic) int pid;
@end
@interface SBApplicationController : NSObject
+(id) sharedInstance;
-(SBApplication*) applicationWithBundleIdentifier:(NSString*)identifier;
-(SBApplication*) applicationWithDisplayIdentifier:(NSString*)identifier;
-(SBApplication*)applicationWithPid:(int)arg1;
-(SBApplication*) RA_applicationWithBundleIdentifier:(NSString*)bundleIdentifier;
@end
@interface FBWindowContextHostWrapperView : UIView
@property(readonly, nonatomic) FBWindowContextHostManager *manager; // @synthesize manager=_manager;
@property(nonatomic) unsigned int appearanceStyle; // @synthesize appearanceStyle=_appearanceStyle;
- (void)_setAppearanceStyle:(unsigned int)arg1 force:(BOOL)arg2;
- (id)_stringForAppearanceStyle;
- (id)window;
@property(readonly, nonatomic) struct CGRect referenceFrame; // @dynamic referenceFrame;
@property(readonly, nonatomic, getter=isContextHosted) BOOL contextHosted; // @dynamic contextHosted;
- (void)clearManager;
- (void)_hostingStatusChanged;
- (BOOL)_isReallyHosting;
- (void)updateFrame;
@property(retain, nonatomic) UIColor *backgroundColorWhileNotHosting;
@property(retain, nonatomic) UIColor *backgroundColorWhileHosting;
@end
@interface FBWindowContextHostView : UIView
@end
@interface UIKeyboard : UIView
+ (BOOL)isOnScreen;
+ (CGSize)keyboardSizeForInterfaceOrientation:(UIInterfaceOrientation)orientation;
+ (CGRect)defaultFrameForInterfaceOrientation:(UIInterfaceOrientation)orientation;
+ (id)activeKeyboard;
- (BOOL)isMinimized;
- (void)minimize;
@end
@interface BKSProcessAssertion
- (id)initWithPID:(int)arg1 flags:(unsigned int)arg2 reason:(unsigned int)arg3 name:(id)arg4 withHandler:(id)arg5;
- (id)initWithBundleIdentifier:(id)arg1 flags:(unsigned int)arg2 reason:(unsigned int)arg3 name:(id)arg4 withHandler:(id)arg5;
- (void)invalidate;
@property(readonly, nonatomic) BOOL valid;
@end
@interface SBReachabilityManager
+ (id)sharedInstance;
@property(readonly, nonatomic) _Bool reachabilityModeActive; // @synthesize reachabilityModeActive=_reachabilityModeActive;
- (void)_handleReachabilityDeactivated;
- (void)_handleReachabilityActivated;
@end
@interface SBAppSwitcherModel : NSObject
+ (id)sharedInstance;
- (id)snapshotOfFlattenedArrayOfAppIdentifiersWhichIsOnlyTemporary;
- (id)snapshot;
- (void)remove:(id)arg1;
- (void)removeDisplayItem:(id)arg1;
- (void)addToFront:(id)arg1;
- (void)_verifyAppList;
- (id)_recentsFromPrefs;
- (id)_recentsFromLegacyPrefs;
// iOS 9
- (id)commandTabDisplayItems;
- (id)displayItemsForAppsOfRoles:(id)arg1;
- (id)mainSwitcherDisplayItems;
//- (void)remove:(id)arg1;
- (void)addToFront:(id)arg1 role:(long long)arg2;
- (void)_warmUpIconForDisplayItem:(id)arg1;
- (void)_warmUpRecentIcons;
- (void)_pruneRoles;
- (id)_displayItemRolesFromPrefsForLoadedDisplayItems:(id)arg1;
- (void)_saveRecents;
- (void)_saveRecentsDelayed;
- (void)_invalidateSaveTimer;
- (void)_appActivationStateDidChange:(id)arg1;
@end
@interface UIImage ()