Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Lars Steenhoff on June 30, 2012, 01:17:47 PM

Title: [SOLVED] iPhone.generation action
Post by: Lars Steenhoff on June 30, 2012, 01:17:47 PM
It would be nice to have an action that detects which iPhone/ipad is used so some feature could be enables /disables depending on the device.

iPhone.generation

How do I implement this in an action?

Thanks
Title: Re: iPhone.generation action
Post by: jeanfabre on July 02, 2012, 02:39:02 AM
Hi,

 you should everything you need and more with this action:

https://hutonggames.fogbugz.com/default.asp?W576 (https://hutonggames.fogbugz.com/default.asp?W576)

If you are interested in learning how it was builded, simply locate it in the Project browser and look at the code, it's open source.

 Bye,

 Jean
Title: Re: iPhone.generation action
Post by: Lars Steenhoff on July 07, 2012, 09:15:56 PM
Thanks I got it working :)