ios - Setting background color apply on part of screen -


i using swift set background color viewcontroller:

self.view.backgroundcolor = uicolor.blackcolor() 

but part of screen still painted in white why that?

make sure have assigned class (.swift file) viewcontroller in storyboard.

double check in storyboard not have added view whole screen(controller).


Comments

Popular posts from this blog

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

c# - Specify IP End Point in FiddlerCore -

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -