i hav a navigation controller and when i place a image for navigation bar by hiding it the table view which is below nav bar is moving upside and first row is hided by image ,i should want that (row)table to move down ... if i am not hiding nav bar its working correctly and the image also added above the nav bar perfectly but i am not able to see nav bar back button on next screen bcause whtever i added image was cover this bar ... how can i remove this image if we can not move table view in first view......
+1
A:
if you are trying to put an image into a navbar's title, as it sounds..a much simpler way is:
UIImageView *headerImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myimage.png"]];
self.navigationItem.titleView = headerImageView;
[headerImageView release];
Jesse Naugher
2010-07-13 15:57:25
yes its working but iam unable to see my full image my image hieght is45;
lak in iphone
2010-07-13 16:29:47
can u plz give a idea
lak in iphone
2010-07-13 16:34:31