{ "id": "167888", "key": "TIMOB-24731", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-08T21:07:24.000+0000", "created": "2017-05-24T04:26:43.000+0000", "epic": { "id": 165427, "key": "TIMOB-24335", "name": "", "summary": "iOS: Resolve iOS 8 deprecations", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-08T22:28:32.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "In SDK 6.0.0, we updated the default minimum iOS target to 8.0 as a result of the Xcode 8.x version that is now supported. Doing that, our iOS SDK core shows some deprecation-warnings regarding API's that should be replaced in iOS 8 and later.\r\n\r\nReplace willAnimateRotationToInterfaceOrientation: (used in many places, migration required)\r\n\r\nThis is subset of ticket TIMOB-24335.", "attachment": [], "flagged": false, "summary": "iOS: Resolve iOS 8 deprecations for willAnimateRotationToInterfaceOrientation", "creator": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "421712", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9138\r\n\r\nPlease check behavior by rotating device. \r\n\r\nTest Case 1 : Tab Group\r\n\r\n{code:java}\r\nvar win1 = Ti.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue'\r\n});\r\nwin1.add(Ti.UI.createLabel({text: 'I am a blue window.'}));\r\n\r\nvar win2 = Ti.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red'\r\n});\r\nwin2.add(Ti.UI.createLabel({text: 'I am a red window.'}));\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n window: win1,\r\n title: 'Blue'\r\n}),\r\ntab2 = Ti.UI.createTab({\r\n window: win2,\r\n title: 'Red'\r\n}),\r\ntabGroup = Ti.UI.createTabGroup({\r\n tabs: [tab1, tab2]\r\n});\r\ntabGroup.open();\r\n{code}\r\n\r\nTest Case 2 : Scroll View\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar nav = Titanium.UI.iOS.createNavigationWindow({\r\nwindow:win,\r\nbackgroundColor:'red'\r\n});\r\nvar view1 = Ti.UI.createView({ backgroundColor:'#123' });\r\nvar view2 = Ti.UI.createView({ backgroundColor:'#246' });\r\nvar view3 = Ti.UI.createView({ backgroundColor:'#48b' });\r\n\r\nvar scrollableView = Ti.UI.createScrollableView({\r\n views:[view1,view2,view3],\r\n showPagingControl:true\r\n});\r\n\r\nwin.add(scrollableView);\r\nnav.open();\r\n{code}\r\n\r\nTest Case 3 : Split window for iPad\r\n\r\n{code:java}\r\nvar detail = Ti.UI.createWindow({backgroundColor: 'white'});\r\nvar label1 = Ti.UI.createLabel({text: 'Detail View'});\r\ndetail.add(label1);\r\nvar detailNav = Ti.UI.iOS.createNavigationWindow({window: detail});\r\n\r\nvar master = Ti.UI.createWindow({backgroundColor: 'gray'});\r\nvar label2 = Ti.UI.createLabel({text: 'Master View'});\r\nmaster.add(label2);\r\nvar masterNav = Ti.UI.iOS.createNavigationWindow({window: master});\r\n\r\nvar splitWin = Ti.UI.iOS.createSplitWindow({\r\n detailView: detailNav,\r\n masterView: masterNav\r\n});\r\nsplitWin.open();\r\n\r\n{code}\r\n\r\nTest Case 4: Navigation window\r\n\r\n{code:java}\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window'\r\n});\r\n\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n window: win2\r\n});\r\n\r\nvar win3 = Titanium.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue Window'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Blue Window'\r\n});\r\nbutton.addEventListener('click', function(){\r\n win1.openWindow(win3, {animated:true});\r\n});\r\n\r\nwin2.add(button);\r\nvar button2 = Titanium.UI.createButton({\r\n title: 'Close Blue Window'\r\n});\r\nbutton2.addEventListener('click', function(){\r\n win1.closeWindow(win3, {animated:false}); //win3.close() will also work!!\r\n});\r\n\r\nwin3.add(button2);\r\nwin1.open();\r\n{code}\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-12T04:43:11.000+0000", "updated": "2017-06-12T04:43:11.000+0000" }, { "id": "425235", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Backported PR (6_2_X) : https://github.com/appcelerator/titanium_mobile/pull/9271\r\n[~hknoechel] Can you please review this.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-02T03:22:50.000+0000", "updated": "2017-08-02T03:22:50.000+0000" }, { "id": "426275", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed. Closing ticket as changes are seen in these builds:\r\nSDK 6.2.0.v20170808135421\r\nSDK 7.0.0.v20170808141753", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-08T21:07:24.000+0000", "updated": "2017-08-08T22:28:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }