Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to change the background color of the xcassets view in Xcode 5 or Xcode 6?

Is there a way to change the background color of the xcassets view in Xcode 5 or Xcode 6?

I have white images that are lost on the white background.

When viewing an image without using xcassets, the image is set against a grey background.

However with xcassets the background is white and the images can't be seen.

I've tried using different different font and color schemes but they only seem to apply to the text editor.

like image 732
codeinthesky Avatar asked Dec 02 '13 00:12

codeinthesky


People also ask

How do I change the background color in Xcode?

At the top select the attributes inspector. Under the section "View" there should be a spot that says "Background". click that and choose your colour.

How do I change the background color of a view controller in Xcode?

Find the view or view controller you want to change the background color of. Open it up in the interface builder and open the Attributes Inspector. Find the background color field and set it to the color you want.

How do I change the background color in Swift TextView?

To change the background color of TextView widget, set the background attribute with required Color value. You can specify color in rgb , argb , rrggbb , or aarrggbb formats. The background color is applied along the width and height of the TextView.


1 Answers

A reasonable work around is to select the image asset, (eg click on the 1x or 2x version) and then press the spacebar. This will show the asset in a popover with a light grey background.

like image 62
codeinthesky Avatar answered Sep 19 '22 17:09

codeinthesky