[TIMOB-1099] __IPHONE_VERSION_MAX_ALLOWED will not work when compiling to lower OS versions
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:55:12.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | iOS |
Labels | n/a |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-04-15T02:44:01.000+0000 |
Updated | 2011-04-17T01:55:12.000+0000 |
Description
When compiling under an SDK which supports 3.2 or 4.0 for 3.1.x OS, you get the 3.2>= specific code. Need to evaluate how to deal with this.
(from [af4085dc179465209e5c7cf7f2866321d6fb9e30]) [#1099 state:open] Fixes so that the status bar shows/hides correctly under 3.1. http://github.com/appcelerator/titanium_mobile/commit/af4085dc179465209e5c7cf7f2866321d6fb9e30"> http://github.com/appcelerator/titanium_mobile/commit/af4085dc17946...
(from [cbff41c5d97032dd01fc75e3d1b4de25d40ee2c5]) Closes #1099: Added +[TiUtils isiPhoneOS3_2OrGreater] to test for a selector in 3.2 that is not in earlier versions. Combined with the #ifdef code this should be sufficent. For now, methods which will only work in 3.2 or later throw an exception when running on earlier devices. http://github.com/appcelerator/titanium_mobile/commit/cbff41c5d97032dd01fc75e3d1b4de25d40ee2c5"> http://github.com/appcelerator/titanium_mobile/commit/cbff41c5d9703...