Sunday, 15 May 2011

ios - Swift SK game works correctly in simulator, labels missing in physical iPhone 5S (both iOS8) -



ios - Swift SK game works correctly in simulator, labels missing in physical iPhone 5S (both iOS8) -

i'm writing game using sprite kit, first time mistakes inevitable :)

so running in simulator when events happen it's quite laggy (fps drops 11 or less).

so decided see happens on real iphone 5s.

things run little better: still lags @ events not badly.

however quite few of labels missing: appear fine in simulator missing in physical device (just empty space should be).

running ios8 in simulator (5s) , on 5s, code written in swift.

any hints @ should at?

well, first should seek isolate problem. seek , see if labels indeed hidden or if behind view. download hierarchy viewer such reveal app , seek , find uilabels. if exist in both, hierarchy viewer , simulator not physical ios device, seek , upload different device. if happens on other device too, wrong code. cant help unless have work with. recommend looking @ http://stackoverflow.com/help/mcve help writing questions.

ios iphone swift ios8

No comments:

Post a Comment