ios - Multiple segues cause app to slow down -


hello building game in swift xcode 6 , new programming. have home screen view controller when screen tapped segues first level of game fine , when game lost game on view controller segued when tap screen , return first level game view controller fps down 30 , when game lost , segued game on view controller fps @ 25 , continues when game becomes slow play. code use "performseguewithidentifier" function, works fine think game gets slower because multiple views being created ? if score 8 points game automatically calls "performseguewithidentifier" go second level view controller when score 8 points seems segue called twice , second level view controller appears twice 1 right after another. 1 me figure out solution ? in advance.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -