[AC-6543] iOS: NavigationWindow close event not fired
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2020-05-12T14:53:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | koki_shigeyama |
Assignee | Abir Mukherjee |
Created | 2020-05-07T02:57:59.000+0000 |
Updated | 2020-05-12T14:53:01.000+0000 |
Description
process of our App change when we update SDK Version from 7.4.2 to 8.3.1.
The view was shown as soon as open() was called by SDK 7.4.2 when we run app on debugger.
function viewOpen() {
var dummyController = Alloy.createController('dummy', {});
dummyController.getView().open(); *open method
・・・heavy process・・・
}
But the view was shown after viewOpen() by SDK 8.3.1.
How can it be solved?
Your title and description seem completely unrelated. To answer the question in your description, for any heavy action, wait until the UI is rendered (use postlayout event, and keep in mind the event can fire more than once), and do the heavy action after. But... try to prevent doing anything heavy, and/or refactor it so it is chopped into smaller lighter processes. However, as also mentioned on your other ticket, JIRA is not intended as a Q&A. I'm going to close this ticket, and if you need more information ask on https://tislack.org in the #helpme channel