TOPasscodeViewController icon indicating copy to clipboard operation
TOPasscodeViewController copied to clipboard

Feature Request: Way to Turn Passcode Off Using TOPasscodeSettingsViewController

Open inPhilly opened this issue 8 years ago • 1 comments

  • [X ] I have read this issue template and provided all possible information.
  • [X ] I'm NOT using CocoaPods

Hardware / Software

Which version of the library were you using?0.0.1 Which version of iOS are you running?several in simulator What model of iOS device were you testing on?several in simulator If using CocoaPods, which version of CocoaPods are you on?N/A

Goals

What is the outcome result you want to achieve with this library? Passcode controller in my app

Expected Results

A TOPasscodeSettingsViewState option to turn passcode off

Actual Results

It seems like, as of now, the TOPasscodeSettingsViewController can only be used to turn passcode on or change passcode. Usually, it is required that a user confirm a passcode before setting it off, and I could not see a way to easily do that with the controller as-is.

These are the current allowable states: typedef NS_ENUM(NSInteger, TOPasscodeSettingsViewState) { TOPasscodeSettingsViewStateEnterCurrentPasscode, TOPasscodeSettingsViewStateEnterNewPasscode, TOPasscodeSettingsViewStateConfirmNewPasscode };

Feature Request

Add a way to turn passcode off, after confirmation of current passcode, using TOPasscodeSettingsViewController.

inPhilly avatar Nov 12 '17 03:11 inPhilly

Sounds good! I'll probably have to implement this by the time I get around to integrating it into my own app, but if anyone else needs it before then, a PR would be greatly appreciated. :)

TimOliver avatar Dec 15 '17 17:12 TimOliver