ios - UIActivityViewController Style in iOS10 -




i new ios , have problem on displaying uiactivityviewcontroller. have done code , works fine on ios8&9 ipad, when tested on ios10 ipad 5th , uiactivityviewcontroller frame restricted parent view controller.

problem need fixed: test on ios10 ipad5

the desired layout:

test on ios8&9

uiactivityviewcontroller *vc = [[uiactivityviewcontroller alloc]initwithactivityitems:activityitems applicationactivities:nil];  vc.excludedactivitytypes = @[uiactivitytypemessage]; vc.popoverpresentationcontroller.barbuttonitem = self.sharebutton;     vc.popoverpresentationcontroller.permittedarrowdirections =  uipopoverarrowdirectionany;     vc.popoverpresentationcontroller.delegate = self;     vc.modalpresentationstyle = uimodalpresentationpopover; 

can give me hints on that? in advance.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -