iOS share sheet scale modification -
i'm writing app on ios 9.3. however, app's share sheet screen bigger other app's share sheet screen. there way modify share sheet screen iphone original icons size?
following code:
- (ibaction)onsharebuttonclick:(uibutton *)sender { nsstring *string = @"upload chart"; uiimage *uploadimage = [self.selectedcontroller performselector:@selector(getuploadimage)]; uiactivityviewcontroller *activityvc = [[uiactivityviewcontroller alloc] initwithactivityitems:@[string, uploadimage] applicationactivities:nil]; [self presentviewcontroller:activityvc animated:yes completion:nil];}
as comment below, found getuploadimage
getting part of screen.
if modify code follow, share sheet "more more" instead. however, size of share icon same origin.
uiactivityviewcontroller *activityvc = [[uiactivityviewcontroller alloc] initwithactivityitems:activityvc applicationactivities:nil];
because activityvc
empty.
Comments
Post a Comment