GiFHUD
GiFHUD copied to clipboard
Issue while changing Orientation
Hi,
I appreciate your work.
There is issue while we rotate the device in case.
Please resolve this.
I solved this by adding:
#pragma mark Orienation
-(void) layoutSubviews { [super layoutSubviews]; // your code here... [self setCenter:APPDELEGATE.window.center]; self.overlayView.frame = APPDELEGATE.window.frame; }
Hi @uditbatra This didn't solve the orientation issue, the -(void) layoutSubviews doesn't get called. Any suggestions? Thank you
It worked after setting setNeedsLayout. Great job @uditbatra