ProMotion icon indicating copy to clipboard operation
ProMotion copied to clipboard

Change tab_bar backgroundcolor

Open bmoby opened this issue 10 years ago • 2 comments

Hi im new on rubymotion, this is my 3rd day i started directly with promotion because you did a great job! Sorry for my bad english im from France...

So my problem is described in the title i would like to customize my tab bar but i have no idea how to find it... so i have i tab_bar like this one:

open_tab_bar(FirstScreen.new(nav_bar: true), SecondScreen, ...)

And in my declared screens i have:

def on init set_tab_bar_item title: "first", item: "my-icon" end

How can i access the options availible in the UI Documentation? Thanks a lot !

bmoby avatar Aug 28 '16 15:08 bmoby

Hey @bmoby! France is great, really enjoyed my time there a year ago. Welcome to ProMotion, glad it's been useful.

You'll need to change the UIAppearance of all tab bars. Check #341 for an example of how to do that.

jamonholmgren avatar Sep 01 '16 21:09 jamonholmgren

I'm going to close this issue since it's been open for a long time. Let us know if you need any more help!

andrewhavens avatar Sep 26 '18 22:09 andrewhavens