lib/ProMotion/cocoatouch/view_controller.rb in ProMotion-2.4.2 vs lib/ProMotion/cocoatouch/view_controller.rb in ProMotion-2.5.0.beta1
- old
+ new
@@ -33,9 +33,14 @@
def viewDidDisappear(animated)
self.view_did_disappear(animated) if self.respond_to?("view_did_disappear:")
super
end
+ def didReceiveMemoryWarning
+ self.did_receive_memory_warning if self.respond_to?(:did_receive_memory_warning)
+ super
+ end
+
def shouldAutorotateToInterfaceOrientation(orientation)
self.should_rotate(orientation)
end
def shouldAutorotate