Get the color of current iPhone (untested yet)
https://twitter.com/liamdunne/status/381343294577721344
@tapbot_paul There’s a private method call that will give you that:
[[UIDevice currentDevice] _deviceInfoForKey:@”DeviceColor”]
https://twitter.com/FreeManRepo/status/381044432495472640
[[UIDevice currentDevice] _deviceInfoForKey:@”DeviceEnclosureColor”]
returns the back plate color on current device.
Written by Igor M.
Related protips
1 Response
Use with caution, while a neat trick, this sounds like a great way to get your app rejected!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Related Tags
#ios
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#