Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 117389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:19:42+00:00 2026-05-11T03:19:42+00:00

I have a UIView with a UITableView for a subview. The UIView has an

  • 0

I have a UIView with a UITableView for a subview. The UIView has an image applied to its background via setBackGroundColor, and I have applied a background to the UITableView in the same manner. Both images are PNGs, and the the background for the UITableView has levels of transparency in it that don’t appear to be working — the PNG seems to be rendered without regard to the transparency data within it — I should be seeing the background of the UIView through it. The basic code I am using for applying the background images is:

UIImage *patternImage = [UIImage imageNamed:@'background.png']; [tableContainer setBackgroundColor:[UIColor colorWithPatternImage: patternImage]]; 

I’m stumped. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T03:19:43+00:00Added an answer on May 11, 2026 at 3:19 am

    You need to make sure your table view is not opaque.

    In Interface Builder, uncheck your table view’s ‘Opaque’ setting. Or, in code,

    tableView.opaque = NO; 

    Keep in mind that any sort of transparency in regard to table views will slow performance dramatically. If you only have a few rows, you’ll probably be OK, but if you do any scrolling, be prepared for some pain. Make sure you test on a real device before release.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UIView that gets added to my UITableView .view as a subview.
I have a UIView (created in IB) with a grouped UITableView as a subview.
I have a UIViewController. Its view contains a UITableView as a subview. On viewDidAppear,
I have a UIView and a UITableView in the same NIB file like so:
I have an UIView high 30, than i add an UITableView as subview with
I have a regular-style UITableView—the one that has a white background and gray horizontal
I have a UIView with UITableView component and I want to create a class
I have a UIView -- call it HomeView that contains a UITableView and a
I have a UINavigationController/UITableView and I want to present a UIView over top of
I have a UIView,with a subview of a UISCrollView with a subview of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.