Question: I am trying to do some customization on UITabBar. I am almost done with everything. However, I saw a small bar on the bottom of each UITabBarItem. I don't know what object it is. Can someone please tell me how to remove it? Or if someone can tell me how to make the UIImage inside the UITabBarItem to be displayed in front of that unknown bar. It is good enough.

<https://www.evernote.com/shard/s214/sh/a3f42cea-a36e-449e-bf91-83f82c82a32f/8f3c35eb158008f96d0d4f5f621d7ff4>

Color blended layers mode
<http://www.evernote.com/shard/s214/sh/3d506d1b-6159-429e-952a-f2cdeb270c56/6c747156a612ea74205724ec1441942a>

I have a custom UITabBarViewController and UITabBar.

Answer: 
```
     Yii::app()->clientScript->registerScript('dropdown', "
    $('#dropdown1').change(listval);    
    function listval()
    {

        var regionid=$('#dropdown1').val();//regionid must be the value of option

            var city=".json_encode($cityarr).";
            for(var i=0;i<city_array_count;i++)
            {

            if(city[i]['regionid']==regionid){
                $('#dropdown2').append( $('<option></option>').val(city[i]['cityid']).html(city[i]['city']));

            }

    }
    ");

```

$cityarr is second array in php.
you can replace ".json\_encode($cityarr)." with your array.

i hope this will work
I'm not familiar with Yii, but after looking it up, probably the best and most straightforward option is to use the `system.web.helpers.CJSON` class.

What you would do is first read in your JSON file (country.json or city.json) to a string variable. This doesn't need to be a special operation; pretend you're reading in a text file.

Then, use the `CJSON.decode( jsonString)` method, which will return an object containing everything in your JSON file.

As for creating a drop-down select from that, I don't know what your JSON file looks like so I can't help you there.