uchicago-mobi / MPCS51030-2017-Winter-Forum

7 stars 0 forks source link

The splash screen shows up in the simulator but not on the device #183

Closed Victoriatheeast closed 7 years ago

Victoriatheeast commented 7 years ago

Hey,

The splash screen does not show up on the device, but it works fine in the simulator. Does anyone know how to fix it?

Thanks

zhuoyuzhu commented 7 years ago

I also had the same issue. (Update: Just fix this issue)

hbennett766 commented 7 years ago

Is it possible that your app is just launching too fast to see the splash screen? Try setting a breakpoint at the beginning of app delegate's didFinishLaunching method. Does it pause on the splash screen?

Victoriatheeast commented 7 years ago

@hbennett766 Yes, it pauses on the splash screen. I also try using sleep, and it just displays an empty screen on my device.

hbennett766 commented 7 years ago

Can you push your project to github? I'll take a look at your code.

Victoriatheeast commented 7 years ago

Sure. I just pushed it. Thank you!

hbennett766 commented 7 years ago

I'm testing your app right now on an iPhone 6, and the splash screen is working fine for me. What device are you testing on? Nice job on this game by the way...it's addicting!

Victoriatheeast commented 7 years ago

Hey! Glad to hear that it works on your device. Mine is iPhone 7. Maybe something is wrong with my hardware. Anyway, Andrew said that just put a note in the README.md. Thank you! Good to know. :)