From what I understand, I need to use Daily Build 767 or above to generate my game that is iPad 3 compatible, and that means the game will not run on pre-4.3 iOS. I’m almost ready to forget about pre-4.3 iOS, but then I thought I might as well try and see if I can release a version of my game that is made only for pre-4.3 iOS if it’s possible at all.
So… I’m wondering how I might go about specifying the maximum OS version using system.getInfo function. I looked at http://developer.anscamobile.com/reference/index/systemgetinfo and it appears that I could possibly use system.getInfo( “architectureInfo” ). I’m not entirely sure how to work this out properly, but here’s the direction I’m thinking of going:
[lua]local iOSVersion = system.getInfo( “architectureInfo” );
if string.match(iOSVersion, “iPhone4,3”) or string.match(iOSVersion, “iPod4,3”) then
– notify the user he/she needs to download the updated version
else
– launch the game
end[/lua]
I just wrote this off the top of my head and I haven’t really investigated the string.match function properly, so my syntax may very well be totally off. Also, I’m not entirely sure what architectureInfo would return from iOS 4.3 – but I sure would like to know.
If some kind soul on this forum can tell me if this isn’t really going to work, I’d appreciate hearing about it (so that I can truly move on). Also, if the problem is only with the syntax/parameter, and otherwise, it would work, I’d be so grateful to learn what syntax/parameter to use.
Naomi (in the middle of sorting through whole loads of changes associated with making my game to be iPad3 ready) [import]uid: 67217 topic_id: 23450 reply_id: 323450[/import]