Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem when adding Three20 PhotoViewer to my UINavigationViewController

Tags:

iphone

three20

I want a photo viewer in my iphone app and I liked the Three20 photo viewer. I found it somehow hard to integrate it in my own app where I have my typical UINavigationViewController. So far I succeeded in doing the following:

TTURLMap *map = [[[TTURLMap alloc] init] autorelease];
[map from:@"tt://appPhotos" toSharedViewController:[PhotoViewController class]];  
[self.navigationController pushViewController:[map objectForURL:@"tt://appPhotos"] animated:YES];

The only problem is that wenn I click back to my original view, its navigation bar keeps the style of the photo viewer (transperant and shows the view under it). How can I get back my original navigation bar?

like image 238
asnanak Avatar asked Dec 18 '25 04:12

asnanak


1 Answers

My experience: I once used three20's PhotoViewer and every time I went back from the PhotoViewer to my other view. The system status bar remained black and transparent (while it should be with default style). I solved it by manually and programmatically changing the status bar style every time when the back action was triggered.

like image 95
Di Wu Avatar answered Dec 19 '25 18:12

Di Wu