Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failures in iOS 9 #483

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felixclack
Copy link

There appear to be some changes in the recent Rubymotion updates (I
haven't been able to find where) that means some specs were failing when
run with iOS 9 as the target.

This change introduces a fix specifically to the Constants.get method
as used by UIActivityViewController.

The error was, passing activities to exclude from the activity view
caused an error where an Array was expected but the splat wasn't
creating one.

The other issue this fixes is to delegate the tag property on a
UINavigationViewItem to it's child UIBarButtonItem in the test
implementation (a UINavigationViewItem doesn't have a tag property).

There appear to be some changes in the recent Rubymotion updates (I
haven't been able to find where) that means some specs were failing when
run with iOS 9 as the target.

This change introduces a fix specifically to the `Constants.get` method
as used by `UIActivityViewController`.

The error was, passing activities to exclude from the activity view
caused an error where an Array was expected but the splat wasn't
creating one.

The other issue this fixes is to delegate the `tag` property on a
`UINavigationViewItem` to it's child `UIBarButtonItem` in the test
implementation (a `UINavigationViewItem` doesn't have a `tag` property).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant