Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 55

NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
02/28/15 08:27 PM (9 years ago)

Changing a Theme value (backgroundColor) via code (iOS)

Is it possible to change a JSON value of the App Theme at runtime? For example "backgroundColor"? Here is default Theme with light gray background. {"itemId":"#######################", "itemType":"BT_theme", "itemNickname":"Default Theme", "navBarStyle":"solid", "statusBarStyle":"hidden", "backgroundColor":"#CCCCCC"} If it would need to be in a different Theme, how would we switch themes at runtime? Thanks.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/28/15 08:52 PM (9 years ago)
Being the lazy person that I am, I would probably see if stobe's 'app transformer' would do the trick: https://www.buzztouch.com/plugins/plugin.php?pid=BD0306290BCC53E0743714F Cheers! -- Smug
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
02/28/15 09:01 PM (9 years ago)
Not self-hosted so can't use appCopier :( Originally was hoping for easy way to select new theme by name at runtime. I know they are not all available anumore but... https://www.buzztouch.com/docs/v1.5/globalTheme.php
 

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.