SwiftPasscodeLock icon indicating copy to clipboard operation
SwiftPasscodeLock copied to clipboard

dismissPasscodeLock(animated: Bool = true) called many times?

Open klwoon opened this issue 7 years ago • 1 comments

Thanks for the great effort maintaining this library!

Please refer to the screenshot below captured after repeatedly putting the Demo app into background, then to foreground to unlock, and background again: screen shot 2017-05-26 at 6 33 37 pm

It appears that the method dismissPasscodeLock(animated: Bool = true) will be called many times, is that the expected behaviour? I was testing why the dismiss animation only works for the first time unlock but not the subsequent unlock, then found this.

Please advise.

klwoon avatar May 26 '17 10:05 klwoon

I don't think this is expected indeed. Nice catch. It will be nice if you can create a PR. Otherwise, I will try to have a look soon (not in the next 10 days)

ziogaschr avatar May 26 '17 15:05 ziogaschr