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

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

Draw This
($0.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-03-2009, 06:54 PM   #1 (permalink)
yezaev
Registered Member
 
Join Date: Oct 2008
Posts: 94
yezaev is on a distinguished road
Default changing UINavigationBar barStyle changes colors of subviews

I have a UISegmentedControl as the titleView in my view controller's navigationItem property. From this view controller, I push to a second controller with a different bar style. When popping the second view controller, I revert the bar style in my first controllers -viewWillAppear: method. However, I find that the segmented controller has changed colors - it was pink at first, but after setting the bar style to black opaque, the segmented control is now black also. I don't seem to be able to set its color back until the viewDidAppear: method, which produces a somewhat jarring experience.
Does anyone know a work around?
yezaev is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,020
Threads: 93,863
Posts: 401,921
Top Poster: BrianSlick (7,962)
Welcome to our newest member, wendolynlm80
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:18 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.