UIActivityViewController, Unable to simultaneously satisfy constraints, on devices 8.x when compiled for iOS 7.x

前端 未结 1 575
梦毁少年i
梦毁少年i 2021-01-14 12:39

I have an UIActivityViewController that is shown on an UIViewController (named viewCon here) :

// items contains text and/or image
         


        
1条回答
  •  北荒
    北荒 (楼主)
    2021-01-14 13:04

    I guess this is an iOS7 bug. It appears with some special sourceRect value. You can fix it by set another sourceRect, for example you can try:

    [activityView popoverPresentationController].sourceRect=CGRectMake( 0,200,768,20);
    

    0 讨论(0)
提交回复
热议问题