Thanks, I looked for that code, but one thing: I would add that line to prevent an exception:
[self.navigationController.navigationBar.subviews enumerateObjectsUsingBlock: ^(id obj, NSUInteger idx, BOOL *stop) { if ([obj isKindOfClass:NSClassFromString(@"_UINavigationBarBackground")]){ UIView* v = obj; if ([v.subviews count] > 0) { [[v.subviews objectAtIndex:0] removeFromSuperview]; *stop=YES; } } }];
Thanks, I looked for that code, but one thing: I would add that line to prevent an exception: