lilyDong edited a comment on issue #2806: [iOS] toast show error direction in ipad URL: https://github.com/apache/incubator-weex/issues/2806#issuecomment-519860599 I can't provide a demo, because I am a ios developer, I don't known vue or rax. I find the code in WXModalUIModule.m is not correct in iPad。toastView.transform should not rotate when in ipad. ` UIInterfaceOrientation orientation = (UIInterfaceOrientation)[[UIApplication sharedApplication] statusBarOrientation]; switch (orientation) { case UIDeviceOrientationPortrait: { point = CGPointMake(window.frame.size.width/2, window.frame.size.height/2); break; } case UIDeviceOrientationPortraitUpsideDown: { toastView.transform = CGAffineTransformMakeRotation(M_PI); float width = window.frame.size.width; float height = window.frame.size.height; point = CGPointMake(width/2, height/2); break; } case UIDeviceOrientationLandscapeLeft: { toastView.transform = CGAffineTransformMakeRotation(M_PI/2); //rotation in radians point = CGPointMake(window.frame.size.width/2, window.frame.size.height/2); break; } case UIDeviceOrientationLandscapeRight: { toastView.transform = CGAffineTransformMakeRotation(-M_PI/2); point = CGPointMake(window.frame.size.width/2, window.frame.size.height/2); break; } default: break; } ` 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
