Searching for iOS 5.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, 4.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 <Foundation/NSObject.h>
#import "UIKit-Structs.h"
#import "UIDevice.h"

@class NSString;

@interface UIDevice : NSObject {

@private
int _numDeviceOrientationObservers;
float _batteryLevel;
struct {
unsigned batteryMonitoringEnabled : 1;
unsigned proximityMonitoringEnabled : 1;
unsigned expectsFaceContactInLandscape : 1;
unsigned orientation : 3;
unsigned batteryState : 2;
unsigned proximityState : 1;
} _deviceFlags;
}
@property(assign, nonatomic, setter=_setBacklightLevel:) float _backlightLevel;
@property(readonly, assign, nonatomic) int userInterfaceIdiom;
@property(readonly, assign, nonatomic, getter=isMultitaskingSupported) BOOL multitaskingSupported;
@property(readonly, assign, nonatomic) BOOL proximityState;
@property(assign, nonatomic, getter=isProximityMonitoringEnabled) BOOL proximityMonitoringEnabled;
@property(readonly, assign, nonatomic) float batteryLevel;
@property(readonly, assign, nonatomic) int batteryState;
@property(assign, nonatomic, getter=isBatteryMonitoringEnabled) BOOL batteryMonitoringEnabled;
@property(readonly, assign, nonatomic, getter=isGeneratingDeviceOrientationNotifications) BOOL generatesDeviceOrientationNotifications;
@property(readonly, assign, nonatomic) NSString* uniqueIdentifier;
@property(readonly, assign, nonatomic) int orientation;
@property(readonly, assign, nonatomic) NSString* systemVersion;
@property(readonly, assign, nonatomic) NSString* systemName;
@property(readonly, assign, nonatomic) NSString* localizedModel;
@property(readonly, assign, nonatomic) NSString* model;
@property(readonly, assign, nonatomic) NSString* name;
+(id)currentDevice;
+(int)currentDeviceOrientationAllowingAmbiguous:(BOOL)ambiguous;
-(void)_playSystemSound:(unsigned long)sound;
-(void)_unregisterForSystemSounds:(id)systemSounds;
-(void)_registerForSystemSounds:(id)systemSounds;
-(void)_updateSystemSoundActiveStatus:(id)status;
-(float)_softwareDimmingAlpha;
-(void)playInputClick;
-(void)_setExpectsFaceContactInLandscape:(BOOL)landscape;
-(void)endGeneratingDeviceOrientationNotifications;
-(void)beginGeneratingDeviceOrientationNotifications;
-(void)setOrientation:(int)orientation;
-(void)setOrientation:(int)orientation animated:(BOOL)animated;
-(id)buildVersion;
-(id)deviceInfoForKey:(CFStringRef)key;
@end
@interface UIDevice (Private)
-(void)_enableDeviceOrientationEvents:(BOOL)events;
@end
@interface UIDevice (UIDevicePrivate)
@property(readonly, assign, nonatomic) NSString* buildVersion;
@property(assign, nonatomic) int orientation;
+(id)modelSpecificLocalizedStringKeyForKey:(id)key;
-(void)setIsWildcat:(BOOL)wildcat;
-(BOOL)isWildcat;
-(BOOL)_isTTYEnabled;
-(void)_setBatteryLevel:(float)level;
-(void)_setBatteryState:(int)state;
-(void)_setProximityState:(BOOL)state;
@end
Back to UIKit.framework