• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Control default color inconsistencies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Control default color inconsistencies


  • Subject: Re: Control default color inconsistencies
  • From: Andreas Falkenhahn <email@hidden>
  • Date: Thu, 15 Dec 2016 15:53:04 +0100

On 14.12.2016 at 18:47 Gary L. Wade wrote:

> Set the background color of self.view to something other than black
> and your button and label will be more visible.

Thanks, that was indeed the problem. UIButton and UILabel both seem to use
a clear background color as the default, which resulted in the UIView's
background color, which was black, shining through them.

I'm now stealing the default background color of the UITableView for my
UIView to get a consistent look, i.e. I'm doing the following in my
view controller's viewDidLoad():

    self.view.backgroundColor = tableView.backgroundColor;

Everything looks correctly then.

--
Best regards,
 Andreas Falkenhahn                            mailto:email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Control default color inconsistencies (From: Andreas Falkenhahn <email@hidden>)
 >Re: Control default color inconsistencies (From: じょいすじょん <email@hidden>)
 >Re: Control default color inconsistencies (From: Andreas Falkenhahn <email@hidden>)
 >Re: Control default color inconsistencies (From: "Gary L. Wade" <email@hidden>)

  • Prev by Date: Re: Autolayout warnings
  • Next by Date: Re: Large "Data" support
  • Previous by thread: Re: Control default color inconsistencies
  • Next by thread: Re: Control default color inconsistencies
  • Index(es):
    • Date
    • Thread