Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 37

Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
05/03/14 03:29 AM (10 years ago)

Changing the label of Right Button (ios)

Hi, I want to change the label of Right Button (ios). For example from 'save' to 'month' so i can attach my screen named 'month' with it. Any ideas? Thanks in advance, Adnan
 
PaddyO
Lost but trying
Profile
Posts: 189
Reg: Sep 11, 2013
Geelong
5,190
like
05/04/14 04:03 PM (10 years ago)
I'm not sure I understand what you're asking Adnan... where is this right button - is this in your navbar? Or in a dialog? Which plugin is it occuring in? And when you say "attach my screen", do you mean that you want this button to call another screen? Cheers Paddy
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
05/04/14 04:21 PM (10 years ago)
@Paddy I meant the right button type in the Top Navigation Bar and yes I meant calling another screen by "attach my screen". It is occurring in arrowHTML Pro Plugin
 
Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
like
05/04/14 04:22 PM (10 years ago)
@Paddy I meant the right button type in the Top Navigation Bar and yes I meant calling another screen by "attach my screen". It is occurring in HTML Pro Plugin
 
PaddyO
Lost but trying
Profile
Posts: 189
Reg: Sep 11, 2013
Geelong
5,190
like
05/04/14 04:31 PM (10 years ago)
OK, that's totally doable Adnan. Have a look at this post, there's some code in there for how to change the label and how to connect it to a method (among other things). Put it inside your viewdidload method of the plugin. (Note: I haven't tested this with Chris1's awesome HTMLPro plugin so if it doesn't make the changes you want, perhaps ask the author at that point :)) https://www.buzztouch.com/forum/thread.php?tid=D5BF2B9C03E7685AC755C8F&sortColumn=FT.id&sortUpDown=DESC&currentPage=1 Cheers Paddy
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.