Sometime you create new Xcode project, set text, color
string but when running, nothing show in blank screen.
Go to Main.storyboard, choose Viewcontroller, on right top
choose Attributes inspector, check to Is Initial View Controller.
When create new class, open it show black screen, add this
line in to viewDidLoad.
view.backgroundColor = UIColor.whiteColor()
No comments:
Post a Comment