Flipkart Search

Cari Blog Ini

Jumaat, 8 Oktober 2010

UITableView backgroundColor always gray on iPad (fix)

Here is a quick fix to get rid of gray background color on grouped style UITableView.

if ([tableView respondsToSelector:@selector(backgroundView)]){
            tableView.backgroundView = nil;
        [tableView setBackgroundColor:[UIColor clearColor]];
}

7 ulasan:

mohammed rafiq berkata...

Hi vyas,I have seen ur blog its very much helpful to me.But I need the application in the below link from the third page of application in ipad.Am searching for this from a month.Can u help me.

http://blancer.com/tutorials/i-phone/76991/sqlite-tutorial-selecting-data/

Thank u very much

Rahul Sharma berkata...

If these operations are performed on tableView then there must not be any need for separate outlet named "loginTable"

Tanpa Nama berkata...

This code is crashing !!!

micdam69 berkata...

It's amazing. I lost four hour to find out this strange problem. Thankf of lot

Paulami berkata...

Hi Rahul,
I have an urgent position for Iphone OS application developer for our company, Ishi Systems in Ahmedabad.Drop me your resume at paulami.chatterjee@ishisystems.com in case you are interested and please visit us at www.ishisystems.com.

Tanpa Nama berkata...

Making the tableview transparent is a HORRIBLE IDEA in terms of performance.
Also, why the hell do you check if the tableView implements -backgroundView? Of course it responds to that method, it's a table view.

karthireva berkata...


wow great,nowadays this type of blog id more important and informative technology,it was more impressive to read ,which helps to design more in effective ways




PHP Training in Chennai