Setting a background image to the UITableView will make it looks great! Use the following code to set a background image to a UITableView.

UIImage *bgImage= [UIImage imageNamed:@"sampleImage.png"];

UIImageView *bgView= [[UIImageView alloc] initWithImage:bgImage];

urTblView.backgroundView = bgView;

Here ‘urTblView’ is your UITableView.


Leave a Reply

Your email address will not be published. Required fields are marked *




Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.