0
votes

Whenever the user wants to select a new share method or action that isn't listed by default, by tapping the "More" button on the UIActivityViewController generated share sheet, a new view is displayed, As everybody knows.i need to change the bar button on that page enter image description here

can anybody help me on adding our own bar button as a rightbarbutton item?

1
what the answer you needAnbu.Karthik
@Anbu.Karthik i need to change the done button position on the navigation barhacker
I think is not possible, you can change the tint color onlyAnbu.Karthik
@Anbu.Karthik do u know why it is out of bounds ,like in the image?hacker
is the native delegate methods ,just like mfmailcomposer , in here we can change tint color only , in here i learned two things 1. if you change any default delegate method the apple reject your app, else part we won't customize the delegate methodsAnbu.Karthik

1 Answers

-1
votes

Try with this. if not you want this ,then explain a little bit more.

UIBarButtonItem *addButton = [[UIBarButtonItem alloc]initWithTitle:@"Done" style:UIBarButtonItemStyleDone target:self action:@selector(doneButtonPressed)];
self.navigationItem.rightBarButtonItem = addButton;