Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1099] __IPHONE_VERSION_MAX_ALLOWED will not work when compiling to lower OS versions

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:12.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelsn/a
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-04-15T02:44:01.000+0000
Updated2011-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.

Comments

  1. Jeff Haynie 2011-04-15

    (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...

  2. Jeff Haynie 2011-04-15

    (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...

JSON Source