Each time the screen transition using segue is transitioned, it becomes heavy.

Asked 2 years ago, Updated 2 years ago, 73 views

I'm using segue and unwind segue for screen transitions, but after many transitions, the process gets heavier and doesn't work properly. Do you have any countermeasures or improvements?

Top Screen ➡ se(segue) Menu Screen ➡ g(segue) Game Screen (spritekit) ➡ g(segue) Result Screen
➡ ((unwind segment) I'm thinking of a transition method called menu screen.

swift spritekit

2022-09-30 19:34

1 Answers

It doesn't become heavy due to screen transition, but there are still instances that should be released due to screen transition, and as a result, it becomes heavy.

You might want to include a process to check if an instance is released in the program, or check for memory leaks in Instruments.


2022-09-30 19:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.