Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-11544 Windows should remember themselves early, remember themselves often. #3302

Merged
merged 1 commit into from
Oct 19, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions iphone/Classes/TiUITabProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ -(void)open:(NSArray*)args
// since the didShow notification above happens on both a push and pop, i need to keep a flag
// to let me know which state i'm in so i only close the current window on a pop
opening = YES;
// Because the window may be going out of scope soon, and that rememberself is a bit, not a counter, we can safely protect here.
[window rememberSelf];
[window setParentOrientationController:self];
// TODO: Slap patch. Views, when opening/added, should check parent visibility (and parent/parent visibility, if possible)
[window parentWillShow];
Expand Down