Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios Apple Pay wallet屏幕(PKAddPaymentPassViewController)在我的应用程序中无法正常显示_Ios_Objective C_Credit Card_Applepay_Wallet - Fatal编程技术网

Ios Apple Pay wallet屏幕(PKAddPaymentPassViewController)在我的应用程序中无法正常显示

Ios Apple Pay wallet屏幕(PKAddPaymentPassViewController)在我的应用程序中无法正常显示,ios,objective-c,credit-card,applepay,wallet,Ios,Objective C,Credit Card,Applepay,Wallet,我正在我的应用程序中实施应用程序内卡资源调配。用户界面没有正常运行,它处于这样的缩放状态。有人能告诉我如何解决这个问题吗 使用以下代码和requestConfiguration数据演示此PKPaymentPassViewController。在我创建了一个新项目的演示应用程序中,同样可以正常工作。我的应用程序与iphone6的UI不完全兼容&这就是问题所在吗 PKAddPaymentPassViewController *vc = [[PKAddPaymentPassViewController

我正在我的应用程序中实施应用程序内卡资源调配。用户界面没有正常运行,它处于这样的缩放状态。有人能告诉我如何解决这个问题吗

使用以下代码和requestConfiguration数据演示此PKPaymentPassViewController。在我创建了一个新项目的演示应用程序中,同样可以正常工作。我的应用程序与iphone6的UI不完全兼容&这就是问题所在吗

PKAddPaymentPassViewController *vc = [[PKAddPaymentPassViewController alloc] initWithRequestConfiguration:request delegate:self];
    vc.delegate = self;
    [self presentViewController:vc animated:YES completion:nil];

问题得到解决这是由于状态栏。在我的应用程序中,没有使用状态栏


为了解决这个问题,我在调用钱包时取消隐藏状态栏,并在从钱包返回应用程序时隐藏

请分享一些代码。你能再次检查我的问题吗?我清楚地解释了@Koen