{ "id": "173728", "key": "TIMOB-27136", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": null, "resolutiondate": null, "created": "2019-06-06T03:41:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "2021-Q2" ], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-24T00:37:05.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "In iOS 13+ Apple has given new APIs https://developer.apple.com/documentation/uikit/app_and_scenes?language=objc to support multiple instance of same app's UI . See WWDC video https://developer.apple.com/videos/play/wwdc2019/212/", "attachment": [], "flagged": false, "summary": "iOS 13 : Implement multiple window support for iPad", "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": "450120", "author": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Multiple window also means turning on use-autolayout doesn't it?\r\n\r\nThe highest priority feature for our iPad (universal) app is support for iPad split view support – this will be required by Apple for appstore updates and new submissions by April 2020.\r\n\r\nTo enable split view support, the app needs to enable use-autolayout tiapp.xml setting and UIRequiresFullScreen = false. It also needs some internal storyboard support.\r\n\r\nWe have tried in Titanium 5/6/7 to enable this feature but it has always caused either build failures or problems in the UI.\r\n\r\nSo reworking the app could take a long time but we have 1 year – what is the plan to support this for developers with existing apps?\r\n\r\nNote our app resizes well between iPhone and iPad and with rotation so in theory it could work with multitasking and use size classes, but my impression is this autolayout feature has been in beta previously and might need work.", "updateAuthor": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2019-07-29T10:20:15.000+0000", "updated": "2019-07-29T10:20:15.000+0000" }, { "id": "450232", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~narbs] As per WWDC video https://developer.apple.com/videos/play/wwdc2019/224/ (if you see 0-4 mints), there are 3 things required by April 2020 -\r\n*1. Adapt launch storyboard* -\r\n In titanium we already support this by default. You have to just see if following in tiapp.xml-\r\n\r\n{code:java}\r\n \r\n true\r\n{code}\r\n\r\n*2. Support any size* - Your app should resize properly for different devices and in split view. As you mentioned your app is resizing properly. So you are good with this.\r\n*3. Support split screen multitasking* -In titanium, for enabling this set 'UIRequiresFullScreen' to 'false' in tiapp.xml -\r\n\r\n{code:java}\r\n \r\n \r\n \r\n UIRequiresFullScreen\r\n \r\n{code}\r\n\r\n\r\nThere is no need to to enable use-autolayout. Thanks!", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-01T23:37:03.000+0000", "updated": "2019-08-01T23:37:59.000+0000" }, { "id": "450237", "author": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Vijay, thank you! This really helped.\r\nThis blog post incorrectly states you need to use autolayout so I didn't try otherwise.\r\nhttps://devblog.axway.com/mobile-apps/titanium-5-2-0-launch-files-ipad-pro-slide-over-and-split-view/\r\nI got the app working after making sure to get the window dimensions from the postlayout listener as Ti.Platform.displayCaps.platformWidth no longer works in split view.\r\nThanks - this has saved me a lot of work and worry.\r\nNow, on to multiple windows...", "updateAuthor": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2019-08-02T12:23:58.000+0000", "updated": "2019-08-02T12:23:58.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }