Auth0 Home Blog Docs

iOS Lock crashes on iPad when tapping ToS/Privacy Policy button

lock
ios
lock-for-ios
policy
tos

#1

I think it’s crashing because of the ActionSheet usage for an iPad outlined here:
https://stackoverflow.com/questions/28089898/actionsheet-not-working-ipad

I’m seeing the same error message described in the stackoverflow post which is why I think it’s related

Any workarounds?


#2

Are you using the latest version (2.4.2) of Lock.swift?

I believe this was fixed in (2.4.0) https://github.com/auth0/Lock.swift/pull/455/files#diff-f766c69547373a4749b7b522eab08734R224

However, if you are using the latest Lock and can replicate then please submit an issue on our GH for this repo. https://github.com/auth0/Lock.swift/issues


#3