I need to know which iOS device is currently running app (saying more exactly I need to know is device armv6 or armv7). UIUserInterfaceIdiomPad() could not check is device an iPhone4S or iPhone3G. Is it possible?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- how do you prevent page scroll in textarea on mobi
- Custom UITableview cell accessibility not working
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Unable to process app at this time due to a genera
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- linux / libusb get usb device path
- Open iOS 11 Files app via URL Scheme or some other
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- Can not export audiofiles via “open in:” from Voic
If you really want to know (at run time) if you are running on arm6 or arm7, you can use "
NXGetArchInfoFromCPUType
" (much more detail is available in the accepted answer to this question).Otherwise you can use platformType or platformString, as our incredibly quick answering friend Omar suggested (and +1 to him!).
Download https://github.com/erica/uidevice-extension (UIDevice-Hardware class) and you can use these:
Or check if its retina
Or check iOs version