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.
the desired layout:
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
Post a Comment