Page 1 of 1

mobilepickphoto vs iphonepickphoto

Posted: Fri Mar 02, 2012 12:20 pm
by theagilepad
I have 2 commands to capture a photo in livecode on iOS - mobilepickphoto and iphonepickphoto.

My preference is to use mobilepickphoto but are there any advantages to using iphonepickphoto? e.g performance

Re: mobilepickphoto vs iphonepickphoto

Posted: Fri Mar 02, 2012 1:00 pm
by Mark
Hi,

If you had read the documentation, you would have known that both commands do exactly the same.

Kind regards,

Mark

Re: mobilepickphoto vs iphonepickphoto

Posted: Sun Mar 04, 2012 2:16 pm
by theagilepad
thanks Mark. I was curious as if there were any benefits such as performance when using the ios specific command as opposed to mobilepickphoto. If they are the same command then it would always make sense to use the more general mobilepickphoto.

Re: mobilepickphoto vs iphonepickphoto

Posted: Sun Mar 04, 2012 8:20 pm
by jacque
At first, only the iOS version was available for many features, and they were all prefixed with "iPhone". As more of these were added to Android, "iPhone" became a synonym and the standard was changed to "mobile". You can use either, they both point to exactly the same engine code, but for mental compatibility I choose to use "mobile" whenever possible.

Eventually I suspect the "iPhone" prefix will be deprecated.