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

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -