I have this simple storyboard :
all of those UIViewController background are clear (transparent), but I put background image as navigation bar and window background using this code :
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// window background
self.window.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"window"]];
// navbar background
UIImage *navBackgroundImage = [UIImage imageNamed:@"navbar_bg"];
[[UINavigationBar appearance] setBackgroundImage:navBackgroundImage forBarMetrics:UIBarMetricsDefault];
[[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]];
return YES;
}
usually this code works on iOS 6 without flashing, but today when I try to build it on iOS 7, the segue animation (push) is flashing. It seems that the UIViewController background is not fully transparent.
please take a look at this video : http://www.youtube.com/watch?v=-oZc9SwPJjs
thank you