Sorry for simple question, but following code:
[[UINavigationBar appearance] setBackgroundImage:[UIImage
imageNamed:@"backgroundNavigationBar.png"] forBarMetrics:UIBarMetricsDefault];
CGRect frame = [[UINavigationBar appearance] frame];
NSLog(@"%@", NSStringFromCGRect(frame));
UIView *view = [[UIView alloc] initWithFrame:frame];
[[UINavigationBar appearance] addSubview: view];
gives me
{{0, 0}, {0, 0}}
How to correctly get frame of current Navigation Bar with actual sizes, i.e. 320x64?