Forum Archive

did_rotate

Webmaster4o

Is there any way to add a did_rotate function to a custom view class that is called when the screen dimensions change because I rotated my device?

Phuket2

@Webmaster4o, you have it already.
def layout(self):
But if you present a 'sheet' in 1.5 for example, you are not called.because the view size/bounds is the same.

Webmaster4o

Right. Forgot about that one.