Skip to content

Commit e595177

Browse files
committed
Update podspec license
1 parent 6532d00 commit e595177

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎PAPasscode.podspec‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = 'PAPasscode'
33
s.version = '1.0'
4+
s.license = 'BSD'
45
s.summary = 'A Passcode View Controller for iOS similar to the one in Settings.app'
56
s.homepage = 'https://github.com/dhennessy/PAPasscode'
67
s.authors = { 'Denis Hennessy' => 'denis@hennessynet.com' }

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Then invoke the view controller as follows:
4646
```objective-c
4747
PAPasscodeViewController *passcodeViewController = [[PAPasscodeViewController alloc] initForAction:PasscodeActionSet];
4848
passcodeViewController.delegate = self;
49-
[self presentViewController:passcodeViewController animated:YES completion:nil];
49+
[self presentViewController:[[UINavigationController alloc] initWithRootViewController:passcodeViewController] animated:YES completion:nil];
5050
```
5151
5252
The `initForAction:` allows you to specify the flow you'd like. Possible actions are:

0 commit comments

Comments
 (0)