Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

iOS 11 volumu block not work #59

Open
supergithuber opened this issue May 7, 2018 · 3 comments
Open

iOS 11 volumu block not work #59

supergithuber opened this issue May 7, 2018 · 3 comments

Comments

@supergithuber
Copy link

when volume reach to max, upblock doesn't work
when volume reach to min, downblock doesn't work

@supergithuber
Copy link
Author

i solve the problem
audiosession doesn't call willchange and didchange whitch call observevalueforkey, so it will no call upblock and downblock, because of the precision
so i change the maxVolume to 0.9f and minVolume to 0.1f, it works

@supergithuber
Copy link
Author

MPVolumeView is placed far away, did you call setsystemvolume before MPVolumeView's frame is set?

@rsimenok
Copy link

I had the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants