IPAD - UISplitViewController's MainWindow NavigationBar tintColor Problem -


problem:

tintcolor of navigationbar of mainwindow gets grey color everytime turn ipad portrait mode , show popover.

details:

  • i created application xcode 3.2.5 , selected split-view based application.
  • i changed navigationbar tintcolor of mainwindow.xib blue using interface builder.
  • then, run app landscape mode, , tintcolor showed value blue on simulator.
  • when, changed orientation portrait , clicked button show mainwindow popover, navbar blends border of popover, ignoring blue.
  • but when turned orientation landscape mode, tintcolor of mainwindow goes original color gray. , can no longer edit value code written viewdidappear block.

is bug? or there more settings need configure work?

thanks in advance

-- jo

i found workaround on devforums.apple.com hoodah change class of navigationbar using interface builder class code below:

@interface ipadnavigationbar : uinavigationbar  @end  @implementation ipadnavigationbar  - (void)settintcolor:(uicolor *)tintcolor {      // bug workaround.       [super settintcolor:[self tintcolor]]; }  @end 

hope helps..


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -