iPhone tableview allow transparent background using:

tableView.backgroundColor = [UIColor clearColor];

but ipad tableview doesnot allow transparent background. that is

tableView.backgroundColor = [UIColor clearColor];

will not work there. In sdk 3.2 there added a new property called “backgroundView” and we can set any image or other view here and we can use this to make tableview as like as transparent. just use this:

[tableView.backgroundView  addSubview:anyView];


2 thoughts on “Transparent background of TableView

  1. Hi Kamruzzaman Methun,
    I m a beginner in IPhone.
    I found your blogs very helpful….lots of Thanks to you.
    can you give me some tutorial or your information(blog) of creating LocalNotification in Iphone.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.