ios - Why doesn't the background colour of my Storyboard in Xcode change? It's always the same grey color? -
so i've changed background property of default view in storyboard file many colours in rainbow. colour shows along buttons nicely in xcode, when run app, background same, ugly, default grey colour start new xcode project ("hello world!").
i've searched answer on google , no avail. doing wrong or glitch? might important mention i'm using spritekit, , "view" view in storyboard file, default one. should change self.view skview? work?
oh , also, when manually try change background colour under viewdidload in .m class doing:
self.view.backgroundcolor = [uicolor backgroundcolor]; the background still doesn't change , same default colour. please me... i'm desperate right now... there's no answers anywhere found. thanks.
all storyboard, graphical answer:
explanation: should modify main.storyboard, select view controller, change view in attribute inspector, , apply new background color.
with 0 lines of code, should result:
download project here.


Comments
Post a Comment