IOS UIActivityViewController redraw layout -
i've added on ios app share button, works fine, there problem after send/close dialog. problem layout moved up.
the code is:
nsstring *texttoshare = @"my app"; nsurl *linkurl = [nsurl urlwithstring:article.fonte]; nsarray *activityitems = @[texttoshare, linkurl]; uiactivityviewcontroller *activityvc = [[uiactivityviewcontroller alloc] initwithactivityitems:activityitems applicationactivities:nil]; activityvc.excludedactivitytypes = @[uiactivitytypeposttoweibo, uiactivitytypeassigntocontact]; [activityvc setcompletionhandler:^(nsstring *activitytype, bool completed) { }]; [self presentviewcontroller:activityvc animated:true completion:nil];
is possible open/close di dialog without redraw layout?
Comments
Post a Comment