While debugging why recordIncorrectPasscodeAttempt was never called, I traced through the framework and found that parentSplashViewController is always nil. This is reproducible 100% in the sample app as-is.
I think the solution is to edit this line to return navController instead of nil if a navigation controller is not found, or at least do some more robust checking to determine the parent.
You're right! #8 resolves this issue. I'm just waiting for Travis to give me the green light before I merge. Thanks for discovering this and reporting it! :smile:
While debugging why
recordIncorrectPasscodeAttempt
was never called, I traced through the framework and found thatparentSplashViewController
is always nil. This is reproducible 100% in the sample app as-is.I think the solution is to edit this line to return
navController
instead ofnil
if a navigation controller is not found, or at least do some more robust checking to determine the parent.