sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

Custom UIDynamics / Disable wobble animation #110

Closed TomKremer closed 5 years ago

TomKremer commented 5 years ago

Maybe others would like to disable the wobble effect from UIDynamics? Set uiDynamics in SPPermissionDialogDataSource to 1.0 to disable the wobble animation. (#47)

ivanvorobei commented 5 years ago

Good day!

Please, change source code not in example. See ‘source’. If you can not do it, I can do it after merge.

Wait your response.

ivanvorobei commented 5 years ago

I see details preview. For disable UIDynamics animation need set start translation to zero. When in your project set 1.0 for uiDynamics - translation not do.

I think more clear will be customise startTranslation or other parameter.

But for now property uiDynamics not change anything for dynamic animation. Thanks!

If need, I can implement it. Or you)