I’m trying to make the synth behave nicely on the iphone by having it auto rotate when the screen rotates. The code I have works very well in the simulator, but shows screen corruption after the rotation. If you then rotate back, it displays well again. So it seems my resize code maybe isn’t up to snuff.
According to this post on Red Glasses (this link’s down now, apparently it was a draft version up for a select few to read, but google got there early), it may be related to CALayer/UIView resizing. Looking at the behaviour, this seems likely.
Anyway, here’s the before & after. Any suggestions?
Advertisement