Currently I have a UIView which contains some controls. I then have some images I programatically add to the view to display as animations. Currently at the end of each interval of my game loop im having to tell the controller to move the UIView control to the front, otherwise the images will appear on top of it. Is there a less costly method of making it persist as always on top.
Currently I have the following at the end of my game loop:
[self.view bringSubviewToFront:myControlView];
Could I do something like this when the game initiates:
myControlView.alwaysOnTop = true;
See Question&Answers more detail:os