Sometimes I have a delay on iOS when loading vaiables via localstorage (Array).
Sometimes it doesn't show my variables (Highscore). The text is just blank and then after some seconds it loads.
Also sometimes I have to touch on the screen that it shows my loaded variables.
If I play my game on the browser all works as intended. With no delay.
The problem is, that my game also saves variables for which level the player is. So sometimes my level selector buttons doesn't show up correct because there is a huge delay.