rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

Fix uialertview specs #426

Closed markrickert closed 9 years ago

markrickert commented 9 years ago

Turns out iOS 8 is changing the root UIWindow class to _UIAlertControllerShimPresenterWindow (a subclass of UIWindow) after an app shows a UIAlertView or UIActionSheet.

Displaying a UIActionSheet also no longer increments the window count in the app when displayed.

Boooo. :ghost:

This PR fixes it and should fix a lot of branches that are failing right now in Travis when they pull these changes in.

markrickert commented 9 years ago

Fixes #425

markrickert commented 9 years ago

Self-merging this so that people can rebase master and determine if their specs are really failing or just this interfering with a clean build.

markrickert commented 9 years ago

Weird. specs pass locally and on this branch, but not when merged into master. I'll re-run travis.