Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the button titles on SLComposeServiceViewController?

Is there a way to change the button titles on the SLComposeServiceViewController? I tried to change the bar button items on the navigation item, but those aren't the right buttons.

like image 925
arcticmatt Avatar asked Aug 13 '14 02:08

arcticmatt


1 Answers

Simply accessing from navigationController!.navigationBar does the charm. The following should help.

self.navigationController!.navigationBar.topItem!.rightBarButtonItem!.title = "Save"
like image 62
Abhijit Avatar answered Oct 27 '22 13:10

Abhijit