1:参考地址:http://stackoverflow.com/questions/8324516/three20-photo-viewer-customization

 

- (void) viewDidLoad {

   
[[TTURLRequestQueue mainQueue] setMaxContentLength:0];

   
TTNavigator *navigator = [TTNavigator navigator];
   
UIWindow *window = [UIApplication sharedApplication].keyWindow;
    navigator
.window = window;

   
TTURLMap *map = navigator.URLMap;
   
[map from:@"tt://appPhotos" toSharedViewController:[PhotoViewController class]];

   
[navigator openURLAction:[TTURLAction actionWithURLPath:@"tt://appPhotos"]];

    self
.photoSource = [PhotoSet samplePhotoSet];
}

 

 

 

相关文章:

  • 2021-12-29
  • 2021-07-21
  • 2022-01-20
  • 2021-12-26
  • 2022-03-02
  • 2021-09-01
  • 2021-05-06
猜你喜欢
  • 2022-01-29
  • 2022-01-28
  • 2022-12-23
  • 2021-10-20
  • 2021-09-11
  • 2022-01-28
相关资源
相似解决方案