lib/ProMotion/screen/screen_module.rb in ProMotion-2.8.2 vs lib/ProMotion/screen/screen_module.rb in ProMotion-3.0.0

- old
+ new

@@ -79,14 +79,9 @@ end def on_memory_warning mp "Received memory warning in #{self.inspect}. You should implement on_memory_warning in your screen.", force_color: :red end - def on_live_reload - self.view.subviews.each(&:removeFromSuperview) - on_load - end - def should_rotate(orientation) case orientation when UIInterfaceOrientationPortrait return supported_orientation?("UIInterfaceOrientationPortrait") when UIInterfaceOrientationLandscapeLeft