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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

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

python - How to remove the Xframe Options header in django? -