can't get pixel density for an iPhone (Retina-4 inch) in the simulator
Terry Judd
terry.judd at unimelb.edu.au
Thu Feb 21 22:29:39 EST 2013
I'm running LC 5.5.4 with Xcode 4.6 and I'm trying to get my app to display correctly in the simulator (seems to be 6.0)
Works fine for iPhone and iPhone (Retina 3.5-inch) but when I switch to iPhone (Retina 4-inch) both mobilePixelDensity return 1 and my resolution specific code fails.
iPhoneDeviceResolution() returns the correct values and I guess I can work backwards from there but I'm guessing the first 2 functions should work. Has anyone else seen this? Any advice?
Terry...
Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
More information about the use-livecode
mailing list