Update for Xcode 12 & add device identifier to UI.
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
|
||||
self.view.backgroundColor = [UIColor clearColor];
|
||||
self.dialogView.layer.cornerRadius = 5;
|
||||
|
||||
[self.deviceButton setTitle:[PearlKeyChain deviceIdentifier] forState:UIControlStateNormal];
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
@@ -112,6 +114,11 @@
|
||||
}];
|
||||
}
|
||||
|
||||
- (IBAction)copyDevice:(id)sender {
|
||||
[UIPasteboard generalPasteboard].string = [PearlKeyChain deviceIdentifier];
|
||||
[PearlOverlay showTemporaryOverlayWithTitle:strl( @"Device Identifier Copied" ) dismissAfter:2];
|
||||
}
|
||||
|
||||
#pragma mark - Private
|
||||
|
||||
- (void)updateKey {
|
||||
|
Reference in New Issue
Block a user