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 7673079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:25:47+00:00 2026-05-31T16:25:47+00:00

I have a problem customizing my AQGridViewCell. I’d like to have the whole cell

  • 0

I have a problem customizing my AQGridViewCell. I’d like to have the whole cell having a transparent background, but the following inside of the initWithFrame:reuseIdentifier does not do the job:

self.backgroundView.backgroundColor = [UIColor clearColor];
self.contentView.backgroundColor = [UIColor clearColor];
self.backgroundColor = [UIColor clearColor];

self.backgroundView.opaque = NO;
self.contentView.opaque = NO;
self.opaque = NO;

Does anyone have an idea how to solve this?

Thank you very much for any response!

EDIT
I found this, but this does not seem to work either:
https://github.com/AlanQuatermain/AQGridView/pull/108#issuecomment-3610006

  • 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. Editorial Team
    Editorial Team
    2026-05-31T16:25:48+00:00Added an answer on May 31, 2026 at 4:25 pm

    The tip in your link was half way there. The following did the trick for me:

    self.contentView.backgroundColor = nil;
    self.backgroundColor = nil;
    

    And you need to put this in your custom AQGridViewCell’s initWithFrame:reuseIdentifier:. It’s a bit puzzling that you have to set two properties but at least it works.

    Also note that you also need to set the background color to clear for all text labels you might have, e.g:

    captionLabel.backgroundColor = [UIColor clearColor];
    

    Setting label background to nil doesn’t help – it comes out as black.

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

Sidebar

Related Questions

I'm having a little problem here! I have discovered the following as being the
I have problem with ActionLink. I'd like to pass to my ActionLink parameter for
I have problem with cakephp's Session->write method. If I set a value like $_SESSION['..']
I have a problem in customizing labels in a Django form This is the
I have problem when I try to set a background to .header - nothing
I have problem with customizing each page using pagecontrol and UIScrollView. I'm customizing Page
I have used Cell.ContentView in my implementation for customizing the cell contents. It works
I have a field for which rails_admin generates a textfield, but I'd like it
I'm working on customizing <select> 's. But I got stuck behind a problem. A
I have problem with Activities navigation, searching works good. Activities hierarchy looks like that:

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.