Searching for iOS 4.0 Headers

Switch to: 15.2.1, 14.4, 13.1.3, 12.1, 11.1.2, 11.0, 11.0.1, 10.2, 10.1.1, 9.3.3, 9.0, 8.0, 7.0, 6.0, 5.0, 3.0


Back to UIKit.framework
Viewing file: UIDevice.h   download   logify
UIDevice was found in iOS 11.1.2, 11.0.1, 11.0, 10.2, 10.1.1, 9.3.3, 9.0, 8.0, 7.0, 6.0, 5.0, 4.0
Filter:  
/**
 * This header is generated by class-dump-z 0.2a.
 * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
 *
 * Source: /System/Library/Frameworks/UIKit.framework/UIKit
 */

#import "UIKit-Structs.h"
#import "UIDevice.h"
#import <Foundation/NSObject.h>

@class NSString;

@interface UIDevice : NSObject {

@private
int _numDeviceOrientationObservers;
float _batteryLevel;
struct {
unsigned batteryMonitoringEnabled : 1;
unsigned proximityMonitoringEnabled : 1;
unsigned orientation : 3;
unsigned batteryState : 2;
unsigned proximityState : 1;
} _deviceFlags;
}
@property(readonly, assign, nonatomic) int userInterfaceIdiom; // G=0xd25ed;
@property(readonly, assign, nonatomic, getter=isMultitaskingSupported) BOOL multitaskingSupported; // G=0xd25d5;
@property(readonly, assign, nonatomic) BOOL proximityState; // G=0x1e6fbd;
@property(assign, nonatomic, getter=isProximityMonitoringEnabled) BOOL proximityMonitoringEnabled; // G=0x1e6fa9; S=0x1e7241;
@property(readonly, assign, nonatomic) float batteryLevel; // G=0x1e6f7d;
@property(readonly, assign, nonatomic) int batteryState; // G=0x10531;
@property(assign, nonatomic, getter=isBatteryMonitoringEnabled) BOOL batteryMonitoringEnabled; // G=0x1e6f69; S=0x100bd;
@property(readonly, assign, nonatomic, getter=isGeneratingDeviceOrientationNotifications) BOOL generatesDeviceOrientationNotifications; // G=0x1e6f51;
@property(readonly, retain, nonatomic) NSString* uniqueIdentifier; // G=0x11a805;
@property(readonly, assign, nonatomic) int orientation; // G=0x775e5;
@property(readonly, retain, nonatomic) NSString* systemVersion; // G=0x1e70b9;
@property(readonly, retain, nonatomic) NSString* systemName; // G=0x1e71f1;
@property(readonly, retain, nonatomic) NSString* localizedModel; // G=0x1e70e9;
@property(readonly, retain, nonatomic) NSString* model; // G=0x1e7155;
@property(readonly, retain, nonatomic) NSString* name; // G=0x1e71c1;
+(int)currentDeviceOrientationAllowingAmbiguous:(BOOL)ambiguous; // 0x40441
+(id)currentDevice; // 0x2535
-(id)buildVersion; // 0x1e7089
-(void)setOrientation:(int)orientation animated:(BOOL)animated; // 0x404f9
-(void)setOrientation:(int)orientation; // 0x404e1
-(void)beginGeneratingDeviceOrientationNotifications; // 0x403a5
-(void)endGeneratingDeviceOrientationNotifications; // 0x408ed
@end
@interface UIDevice (UIDevicePrivate)
@property(readonly, retain, nonatomic) NSString* buildVersion;
@property(assign, nonatomic) int orientation;
+(id)modelSpecificLocalizedStringKeyForKey:(id)key; // 0xeab2d
-(void)_setProximityState:(BOOL)state; // 0x1e7029
-(void)_setBatteryState:(int)state; // 0x10895
-(void)_setBatteryLevel:(float)level; // 0x10545
-(BOOL)isWildcat; // 0x25a5
-(void)setIsWildcat:(BOOL)wildcat; // 0x1e6fcd
-(void)playInputClick; // 0x1e6fd9
@end
@interface UIDevice (Private)
-(void)_enableDeviceOrientationEvents:(BOOL)events; // 0x40401
@end
Back to UIKit.framework