lib/ios/sugarcube-factories/uiactionsheet.rb in sugarcube-2.1.3 vs lib/ios/sugarcube-factories/uiactionsheet.rb in sugarcube-2.1.4
- old
+ new
@@ -120,10 +120,10 @@
case from
when CGRect
view = UIApplication.sharedApplication.windows[0]
alert.showFromRect(from, inView: view, animated: true)
when UIBarButtonItem
- alert.showFromBarButtonItem(from)
+ alert.showFromBarButtonItem(from, animated: true)
when UIToolbar
alert.showFromToolbar(from)
when UITabBar
alert.showFromTabBar(from)
when UIView