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

BeamMusicPlayerExample crashes on launch on iPad running iOS 5.1.1 (9B206) #19

Open
ruohoruotsi opened this issue Jul 29, 2013 · 0 comments

Comments

@ruohoruotsi
Copy link

The issue is that in Source/BeamMusicPlayerViewController.m : viewDidLoad, the calls to setVolumeThumbImage:forState:, setMinimumVolumeSliderImage:forState:, setMaximumVolumeSliderImage:forState: are only NS_AVAILABLE_IOS(6_0).

Because the iOS deployment target is 5.0, there should be a runtime check that MPVolumeView instancesRespondToSelector:, to avoid crashes on and to properly support an iOS 5.0.

ruohoruotsi added a commit to ruohoruotsi/MusicPlayerViewController that referenced this issue Jul 29, 2013
…alls to NS_AVAILABLE_IOS(6_0) methods were not protected by instancesRespondToSelector checks. BeamApp#19
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

No branches or pull requests

1 participant