mobilepickphoto vs iphonepickphoto

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
theagilepad
Posts: 50
Joined: Mon May 09, 2011 3:01 pm

mobilepickphoto vs iphonepickphoto

Post by theagilepad » Fri Mar 02, 2012 12:20 pm

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
Paul Johnson
theAgilePad
Manchester - England
m : 07818 832421

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: mobilepickphoto vs iphonepickphoto

Post by Mark » Fri Mar 02, 2012 1:00 pm

Hi,

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

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

theagilepad
Posts: 50
Joined: Mon May 09, 2011 3:01 pm

Re: mobilepickphoto vs iphonepickphoto

Post by theagilepad » Sun Mar 04, 2012 2:16 pm

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.
Paul Johnson
theAgilePad
Manchester - England
m : 07818 832421

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: mobilepickphoto vs iphonepickphoto

Post by jacque » Sun Mar 04, 2012 8:20 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply