Zendesk SDK for iOS を使用すると、Issue Creation View Controller を次のように表示できます。
[ZDKRequests showRequestCreationWithNavController:self.navigationController];
同じView Controllerを「モーダル」に提示するのではなく、プッシュするための最も簡単で最高レベルの抽象化は何ですか?
Zendesk SDK for iOS を使用すると、Issue Creation View Controller を次のように表示できます。
[ZDKRequests showRequestCreationWithNavController:self.navigationController];
同じView Controllerを「モーダル」に提示するのではなく、プッシュするための最も簡単で最高レベルの抽象化は何ですか?
はZDKCreateRequestViewController
プッシュするように設計されていませんがpush
、呼び出すことでプッシュできます
ZDKCreateRequestViewController *viewController = [[ZDKCreateRequestViewController alloc] init];
[self.navigationController pushViewController:viewController animated:YES];
navBarButton
ただし、モーダルに却下しようとしているために機能しないため、左を削除する必要があります。viewController.navigationItem.leftBarButtonItem = nil
プッシュする前に設定することでこれを行うことができます。これにより、View Controller は、View ControllernavBarButton
をポップする を生成できます。