Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2267] TiUIiPhoneNavigationGroup "close" method ignore "properties.animation".

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNeeds more info
Resolution Date2012-07-26T11:44:35.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
Reporteryevhene
AssigneeNeeraj Gupta
Created2011-04-15T03:15:12.000+0000
Updated2012-07-26T22:16:03.000+0000

Description

titanium_mobile / iphone / Classes / TiUIiPhoneNavigationGroup.m
...

-(void)close:(TiWindowProxy)window withObject:(NSDictionary)properties {

UIViewController* windowController = [window controller];
NSMutableArray* newControllers = [NSMutableArray arrayWithArray:controller.viewControllers];
BOOL animated = (windowController == [newControllers lastObject]);
[newControllers removeObject:windowController];
[controller setViewControllers:newControllers animated:animated];

[window retain];
[window close:nil];
[window autorelease];

}

...

"animated" value should be overridable by "properties.animation".

Comments

  1. Stephen Tramer 2012-07-26

    Does not provide a detailed bug description

    Does not include a complete & valid test case

    This ticket may be reopened if these are provided.

JSON Source