Skip to content

Commit

Permalink
feat(ios): add Ti.UI.Window.closed property
Browse files Browse the repository at this point in the history
Fixes TIMOB-27711
  • Loading branch information
sgtcoolguy committed Jun 22, 2020
1 parent a53f8c6 commit 574fec6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iphone/TitaniumKit/TitaniumKit/Sources/API/TiWindowProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,11 @@ - (void)close:(id)args
YES);
}

- (NSNumber *)closed
{
return NUMBOOL(!opening && !opened && !closing);
}

- (BOOL)_handleOpen:(id)args
{
TiRootViewController *theController = [[TiApp app] controller];
Expand Down

0 comments on commit 574fec6

Please sign in to comment.