Rewrite the control safe area system: - Use UIEdgeInsets instead of CGRect (breaking change!) - Auto change depending on orientation (not really consistent yet) The safe area is reset to reflect this breaking change.
17 lines
493 B
Objective-C
17 lines
493 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
void loadPreferences(BOOL reset);
|
|
id getPreference(NSString* key);
|
|
NSMutableDictionary* getDictionary(NSString *type);
|
|
int getJavaVersion(NSString* java);
|
|
int getSelectedJavaVersion();
|
|
void setDefaultValueForPref(NSMutableDictionary *dict, NSString* key, id value);
|
|
void setPreference(NSString* key, id value);
|
|
void resetWarnings();
|
|
|
|
BOOL getEntitlementValue(NSString *key);
|
|
|
|
UIEdgeInsets getDefaultSafeArea();
|
|
CGRect getSafeArea();
|
|
void setSafeArea(CGRect safeArea);
|