Top "Uidevice" questions

The UIDevice class provides a singleton instance representing the current device.

How do I detect orientation on app launch for splash screen animation on iPad!

Hi I have an app and I have two *.pngs for default splash screen: Default-Landscape.png Default-Portrait.png What I …

iphone uikit uiinterfaceorientation uidevice device-orientation
identify each iphone device in iOS SDK

I need to determine each iOS device. In the past SDKS, there's a way to identify UUID by the command [[…

iphone xcode uuid uidevice
Keep display on when the proximity sensor is covered

I want to intercept the proximity sensor without turning off the display. I know by the documentation that I have …

ios iphone proximity uidevice proximitysensor
How to deal with `Use of undeclared identifier 'UIDevice'`

I followed the MD file step by step. But there is still an error in the compilation. What can I …

ios xcode uikit uidevice
UIDevice currentDevice identifierForVendor - can this change on an iPad

My app uses UIDevice currentDevice identifierForVendor to help me identify the device. Recently I have encountered a situation that I …

ios uidevice
UUID for app on iOS5

Possible Duplicate: UIDevice uniqueIdentifier Deprecated - What To Do Now? As I expect you are aware of, the uniqueIdentifier in …

ios5 uuid uidevice
Retrieving the serial number from the device

How do we get the serial number of the device through objective C? I want to retrieve the iPod/iPhone/…

iphone objective-c ios cocoa-touch uidevice
UIDevice currentDevice's "orientation" always null

As per the title. Calling [[UIDevice currentDevice] BeginGeneratingDeviceOrientationNotifications] has no effect. DidRotateToInterfaceOrientation etc events are working fine, but I need …

iphone objective-c orientation uidevice interface-orientation
How to get correct battery level and battery status-ios?

Always [myDevice batteryLevel] returning -1 and [myDevice batterystate]returning 0(entering into Default case). How can i get the correct values?.…

ios objective-c uidevice
UIDevice properties not working in static library

I have created a static library in Iphone SDK in which I used some UIDevice properties. When I run the …

properties uidevice