Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set transparent autocompleteTableView background #98

Open
A1exandre opened this issue Mar 31, 2016 · 0 comments
Open

Unable to set transparent autocompleteTableView background #98

A1exandre opened this issue Mar 31, 2016 · 0 comments

Comments

@A1exandre
Copy link

Hi all,

I'm trying to set a transparent color to the AutoCompleteTableView. I did:

  • self.autoCompleteTableBackgroundColor = UIColor.redColor().colorWithAlphaComponent(0.2)
  • self.autoCompleteTableCellBackgroundColor = UIColor.redColor().colorWithAlphaComponent(0.2)

Unfortunately this does not work as there seems to be a white background behind the tableview

screen shot 2016-03-31 at 10 11 22

I tried the following things without success:

  • autoCompleteTableView.backgroundColor
  • self.autoCompleteTableView.backgroundView!.backgroundColor

There must be something with the view hierarchy that I don't get. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant