Problem with Tab and navigation bars in iOS 5 SDK
I'm download new Xcode 4.2 with iOS 5 SDK!Open my old project!And some methods don't work! 

    self.navigationController.navigationBar.layer.contents = (id)[UIImage imageNamed:@"NaviBar_iPhone3.png"].CGImage;
and 

    CGRect frame = CGRectMake(0,0,768,49);
	 UIView *v = [[UIView alloc]initWithFrame:frame];
	 UIImage *i = [UIImage imageNamed:@"Gold_TabBar_iPAD.png"];
	 UIColor *c = [[UIColor alloc] initWithPatternImage:i];
	 v.backgroundColor = c;
	 [c release];
	 [[self.tabBarController tabBar]insertSubview:v atIndex:0 ];
	 [v release];

But in 4.3 simulator works great!Plz help!
Problem with Tab and navigation bars in iOS 5 SDK
===

I'm download new Xcode 4.2 with iOS 5 SDK!Open my old project!And some methods don't work! 

    self.navigationController.navigationBar.layer.contents = (id)[UIImage imageNamed:@"NaviBar_iPhone3.png"].CGImage;
and 

    CGRect frame = CGRectMake(0,0,768,49);
	 UIView *v = [[UIView alloc]initWithFrame:frame];
	 UIImage *i = [UIImage imageNamed:@"Gold_TabBar_iPAD.png"];
	 UIColor *c = [[UIColor alloc] initWithPatternImage:i];
	 v.backgroundColor = c;
	 [c release];
	 [[self.tabBarController tabBar]insertSubview:v atIndex:0 ];
	 [v release];

But in 4.3 simulator works great!Plz help!