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

Add support for tvOS #110

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

Conversation

joeycastillo
Copy link

This is a minor change to make the YYImage library work with tvOS. It has been tested in production.

The only necessary change to the code is to #if out the body of the yy_saveToAlbumWithCompletionBlock method when not running on iOS. The AssetsLibrary framework is not available on tvOS; calling this method on tvOS will simply result in the completion block being called with an error. All other aspects of the YYImage library work fine on tvOS.

Copy link

@rushairer rushairer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

3 participants