Author Topic: IOS Simulator goes Black - Then White - Displays nothing  (Read 5983 times)

Mike

  • Newbie
  • *
  • Posts: 3
    • View Profile
IOS Simulator goes Black - Then White - Displays nothing
« on: June 28, 2015, 05:17:33 PM »

  I started chapter 3 and entered the code:
var myString: String = "Swift"
      self.lblDemo.text = myString”

( The first of trying any code for this book)

  I ran the simulator and it went black, a couple min later it went white.  No text shows up.

I did read through issues on some of the other books and found. An issue with the Storyboard not being tied to the project.
Following along the same line..
 I had ( main.storyboard ) in the swift demo.
Tried changing it to (StoryBoard.storyboard) then (mainStoryBoard.storyboard) no difference.  I took a shot and it didn't work.

I haven't found any other references on the web to try. I hit a wall trying to figure out this one.

kjmcneish

  • Administrator
  • *****
  • Posts: 719
    • View Profile
Re: IOS Simulator goes Black - Then White - Displays nothing
« Reply #1 on: June 28, 2015, 11:08:26 PM »
Mike,

I recommend trying "Main.storyboard" (with an uppercase "M" and a lowercase "s").

If that doesn't work, you can compress your project (zip file) and send it to me on the forum by attaching it to your post.

All the best!
Kevin

Mike

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: IOS Simulator goes Black - Then White - Displays nothing
« Reply #2 on: June 29, 2015, 08:08:27 PM »
Kevin,

     I made the modifications but still have the same blank white screen.  It takes a full minute for that to happen.  I have a 2011 machine, I hope it's not too old. 

  I attached the swift demo file.  I appreciate the assistance!

kjmcneish

  • Administrator
  • *****
  • Posts: 719
    • View Profile
Re: IOS Simulator goes Black - Then White - Displays nothing
« Reply #3 on: July 01, 2015, 03:00:03 PM »
I checked out your project and it's working fine for me. I recommend checking out this topic:

http://iosappsfornonprogrammers.com/forum/index.php?topic=1648.0

Let me know if this works for you!
Kevin