Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-22-2011, 04:49 AM   #1 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 16
vksmaini is on a distinguished road
Default How to change Template design of an application dynamically?

How can I change the entire application template or design when application user edit the theme settings?
Actually I wanted that when user wants to edit the Theme settings he/she will be able to change the color or theme of the application from those settings.
Any suggestions or demo code will help.
vksmaini is offline   Reply With Quote
Old 08-22-2011, 04:53 AM   #2 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

what you need to change exactly? a background? the color of the labels?

however the idea is to write am method that do it programmatically.
__________________
dany_dev is offline   Reply With Quote
Old 08-22-2011, 05:05 AM   #3 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 16
vksmaini is on a distinguished road
Default

actually both....labels color and background image too....but right now i would like to know about labels color...please programmatically show me how to do this...
vksmaini is offline   Reply With Quote
Old 08-22-2011, 06:48 AM   #4 (permalink)
el guaje
 
kevinyide's Avatar
 
Join Date: Jun 2010
Posts: 243
kevinyide is on a distinguished road
Send a message via Yahoo to kevinyide
Default

Changing label color is trivial
Code:
someLabel.textColor = [UIColor redColor];
someLabel.backgroundColor = [UIColor redColor];
You can also change with RGB values etc.
kevinyide is offline   Reply With Quote
Old 08-22-2011, 07:14 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 16
vksmaini is on a distinguished road
Default

thnks kevinyide....I got ur point.....
vksmaini is offline   Reply With Quote
Reply

Bookmarks

Tags
iphone, iphone & ipod touch apps, settings, template

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 398
13 members and 385 guests
7twenty7, cristofercolmbos, dedeys78, fiftysixty, gmarro, iOS.Lover, jonathandeknudt, Matrix23, raymng, stanny, tymex, UMAD, xerohuang
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,669
Threads: 94,121
Posts: 402,903
Top Poster: BrianSlick (7,990)
Welcome to our newest member, dedeys78
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:13 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0