AirPrint 显示两个后退 (< <) 图标

AirPrint shows two back (< <) icons

我愿意在 iOS 中使用 AirPrint 从我的应用程序中导出一些 pdf 文件。但是,当我显示 UIPrintInteractionController 时,它显示两个后退图标 < <。我附上了图像和代码以获取我正在做的事情。我认为这些图标一个是我自己的导航栏,另一个是 UIPrintInteractionController,我试图隐藏 barItems 但没有成功。这是代码:

UIPrintInteractionController *printController = [UIPrintInteractionController sharedPrintController];
            printController.delegate = self;

            NSMutableArray *printingItems = [NSMutableArray array];
            if(exportCSV) [printingItems addObject:csvData];
            if(exportPDF) [printingItems addObject:pdfData];

            UIPrintInfo *printInfo = [UIPrintInfo printInfo];
            printInfo.outputType = UIPrintInfoOutputGeneral;
            printInfo.jobName = @"MyHealth Export";
            printInfo.duplex = UIPrintInfoDuplexLongEdge;
            printController.printInfo = printInfo;
            printController.showsPageRange = YES;
            printController.printingItems = printingItems;

            dispatch_async(dispatch_get_main_queue(), ^{
                [printController presentAnimated:YES completionHandler:^(UIPrintInteractionController *printInteractionController, BOOL completed, NSError *error) { //code}

图片:

感谢任何帮助..提前致谢:)

您确定是两个按钮而不是一个吗?看起来您或其他人可能已将下方控制器的标题或其后退按钮标签设置为@"<"。通常它会显示较大的 < 符号,后跟下面控制器的标题或 "Back" 如果标题太大。据我所知,它似乎以某种方式设置为“<”。

是否有更改导航项标题的地方?也许在导航项的属性检查器中可以让您放入后退按钮标签?