|
@@ -227,7 +227,8 @@ NSNotificationName const CPDFListViewAnnotationsOperationChangeNotification = @"
|
|
|
|
|
|
__weak typeof(self) weakSelf = self;
|
|
|
_pageIndicatorView.touchCallBack = ^{
|
|
|
- UIAlertController *alertController = [UIAlertController alertControllerWithTitle:nil message:NSLocalizedString(@"Enter a page number", nil) preferredStyle:UIAlertControllerStyleAlert];
|
|
|
+ NSString *str = [NSString stringWithFormat:@" Please enter the page numberPage(1/%lu)", weakSelf.document.pageCount];
|
|
|
+ UIAlertController *alertController = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"Go To page", nil) message:NSLocalizedString(str, nil) preferredStyle:UIAlertControllerStyleAlert];
|
|
|
|
|
|
[alertController addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"Cancel", nil) style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
|
|
|
|
|
@@ -253,6 +254,8 @@ NSNotificationName const CPDFListViewAnnotationsOperationChangeNotification = @"
|
|
|
NSString *str = [NSString stringWithFormat:@"Page(1/%lu)", weakSelf.document.pageCount];
|
|
|
textField.placeholder = NSLocalizedString(str, nil);
|
|
|
textField.keyboardType = UIKeyboardTypeNumberPad;
|
|
|
+ textField.clearButtonMode = UITextFieldViewModeWhileEditing;
|
|
|
+ textField.keyboardType = UIKeyboardTypeNumberPad;
|
|
|
|
|
|
}];
|
|
|
|