Objective c - UIActivityViewController orientation mode

前端 未结 4 1444
鱼传尺愫
鱼传尺愫 2021-01-21 09:40

My iPhone app is design to support portrait orientation only, except one view controller that present photos, and support landscape mode as well.

So overall my project

4条回答
  •  [愿得一人]
    2021-01-21 10:36

    May be u should try

    - (void)viewWillAppear:(BOOL)animated
    {
       [self shouldAutorotateToInterfaceOrientation: UIInterfaceOrientationLandscapeRight];
       [super viewWillAppear:animated];
    }
    

    on your view?

提交回复
热议问题