1

iOSで、印刷ポップアップの周りのクロムの色を変更するにはどうすればよいですか?

(Objective-CまたはC#で問題ありません)

プリンタを表示する方法は次のとおりです。

     var printInfo = UIPrintInfo.PrintInfo;
     printInfo.OutputType = UIPrintInfoOutputType.General;

     var printer = UIPrintInteractionController.SharedPrintController;
     printer.PrintInfo = printInfo;
     printer.PrintFormatter = webView.ViewPrintFormatter;
     printer.ShowsPageRange = true;
     printer.PresentFromBarButtonItem(btnShare, true, (handler, completed, err) => {
        if (!completed && err != null)
        {
           UIAlertHelper.ShowAlert(
              "Unable to Print",
              "Sorry, we were not able to access printers from your device.",
              "Ok",
              null
              );  
        }
     }
     );

スクリーンショットは次のとおりです。

http://i.stack.imgur.com/3LbV0.jpg

4

1 に答える 1

0

ここで行う最も賢い方法は、ポップアップをサブクラス化し、uialertviewをサブクラス化する方法と同様に、さまざまな境界線の色で初期化することです。

于 2013-01-25T20:51:43.573 に答える