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

Disabling drag to dismiss animation #47

Closed uddinr closed 5 years ago

uddinr commented 6 years ago

is there any way to disable the "wobbling" animation when closing the dialog in other words just closing straight down?

ivanvorobei commented 6 years ago

I did not quite understand. The window closes either linearly, or by a gesture of brushing down

uddinr commented 6 years ago

see attached screenshots, rather than the dialog tilting i would like the dialog to remain straight when swiping down, what do you mean by linearly? it would be appreciated if it could be optional to simplify the animation rather than the physics of bouncing around

simulator screen shot - iphone 8 - 2017-11-30 at 17 31 42 simulator screen shot - iphone 8 - 2017-11-30 at 17 31 34

ivanvorobei commented 6 years ago

I understood what you mean. In the future update I will add the ability to customize this

Xedart commented 6 years ago

Any progress on this issue?

ivanvorobei commented 5 years ago

Good day! Soon the release of a new version, you should study it when it comes out.

ThoseGuysInTown commented 5 years ago

was this ever added? Can't seem to find anything in the example project

ivanvorobei commented 5 years ago

@ThoseGuysInTown yes, please, see Readme