iOS App Development Book/Video Series
The Series on How to Create iPhone & iPad Apps
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Search
Login
Register
iOS App Development Book/Video Series
»
General Category
»
Swift Programming Language
»
IOS Simulator goes Black - Then White - Displays nothing
« previous
next »
Print
Pages: [
1
]
Author
Topic: IOS Simulator goes Black - Then White - Displays nothing (Read 6915 times)
Mike
Newbie
Posts: 3
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.
Logged
kjmcneish
Administrator
Posts: 719
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
Logged
Mike
Newbie
Posts: 3
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!
Logged
kjmcneish
Administrator
Posts: 719
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
Logged
Print
Pages: [
1
]
« previous
next »
iOS App Development Book/Video Series
»
General Category
»
Swift Programming Language
»
IOS Simulator goes Black - Then White - Displays nothing