The simulator presents the black screen when you give Play with SWIFT 3 and Xcode 8

1

I am new to this tool but following the steps of the course I take and wanting to display a "Hello World" string in the simulator, it runs and starts loading the following screens in this order:

Y then the image appears with several applications simulating an iPhone and never presents the Print that I put of "Hello World"

Someone could help me to see that I have to configure and present the blank screen with what I am sending in the PRINT statement.

Thank you in advance for your attention to this doubt.

    
asked by AlexBarr 22.02.2017 в 01:58
source

2 answers

0

Do some research and it seems to be a problem with the installation of Xcode, did you accidentally install a beta version before or from a file downloaded from the internet instead of installing from the app store?

One solution would be to delete the beta xcode file or other xcode that you have in your apps folder.

Another possible solution and the one that would best serve, would be to delete and uninstall everything related to xcode and reinstall it from the appstore

I pass the link to the official Apple group, where I found the answer:

link

See you in our course at Udemy, Greetings!

    
answered by 26.02.2017 в 22:54
0

Print is for printing by console, not visually, for this you need to use a label, button, text field, etc. Use the Storyboard and the file linked to the ViewController for it. I recommend you look at some basic Swift and Xcode tutorials.

    
answered by 12.03.2017 в 11:48