我正在开发我的一席。 它是与一家照相美术馆有联系的Buttons海关通航。
管理局利用MWPhotoBrowser图书馆从事美术馆的功能。
食堂完全可行,除非它只是为了改变景观而轮换。
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
NSLog(@"ShouldAutoRotate CALLED! - The FIELD");
return YES;iii
- (IBAction)showRenderings:(id)sender {
NSMutableArray *photos = [[NSMutableArray alloc] init];
MWPhoto *photo;
photo = [MWPhoto photoWithFilePath:[[NSBundle mainBundle] pathForResource:@"field_rendering_1" ofType:@"jpg"]];
photo.caption = @"The Field Rendering 1";
[photos addObject:photo];
photo = [MWPhoto photoWithFilePath:[[NSBundle mainBundle] pathForResource:@"field_rendering_2" ofType:@"jpg"]];
photo.caption = @"The Field Rendering 2";
[photos addObject:photo];
photo = [MWPhoto photoWithFilePath:[[NSBundle mainBundle] pathForResource:@"field_rendering_3" ofType:@"jpg"]];
photo.caption = @"The Field Rendering 3";
[photos addObject:photo];
_photos = photos;
// Create MWPhotoBrowser
MWPhotoBrowser *browser = [[MWPhotoBrowser alloc] initWithDelegate:self];
browser.displayActionButton = YES;
browser.wantsFullScreenLayout = YES;
[browser setInitialPageIndex:0];
[self.navigationController pushViewController:browser animated:YES];
iii
我在我的观点主计长和MWPhotoBrowser核对了所有<代码>-(BOOL)shouldAutorotate ToInterfaceOrientation:UIface InterOrientation。 他们都返回了YES。
为什么MWPhotoBrowser的拖车轮到地貌方向?