0

I'm building an iPad camera app where right now I base a fair number of calculations based on a "magic" number, i.e. the current resolution of the back 5MP camera (e.g. 2592x1936). I anticipate that someday Apple will replace that camera with an 8MP. Is there a way (without taking a picture and inspecting the size) that I can discover from the framework the resolution of the back camera, both now and in the future?

Thanks!

If I missed how to do that already, could you please clue me in? ;)

user1139479
  • 210
  • 3
  • 12
  • also related: http://stackoverflow.com/questions/5795835/programmatically-determine-available-iphone-camera-resolutions – Thilo Apr 03 '13 at 13:01
  • Yes, I read those, but if I have to recode and resubmit to take into consideration new camera models, I might as well put in more magic numbers for the new model and the older model cameras. The question is how to future-proof my code so that is unnecessary. – user1139479 Apr 03 '13 at 15:25
  • This one is not future-proof? http://stackoverflow.com/a/11973172/14955 – Thilo Apr 04 '13 at 00:31

0 Answers0