[TIMOB-2267] TiUIiPhoneNavigationGroup "close" method ignore "properties.animation".
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2012-07-26T11:44:35.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | yevhene |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T03:15:12.000+0000 |
| Updated | 2012-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".
Does not provide a detailed bug description
Does not include a complete & valid test case
This ticket may be reopened if these are provided.