0

1つのViewControllerを2つのModalViewのデリゲートにすることは可能ですか?私はこのFlipsideViewControllerを持っており、それは2つの異なるUIButtonsを持ってほしい。各ボタンは、モーダルで異なるビューを表示します。1 ViewControllerと2つのmodalViewsデリゲーション

次のような委任構文について疑問を抱きました。 FlipsideViewControllerは、コンパイラは、上記のコード行程度満足していないと言ってAboutViewController

ため
@interface FlipsideViewController : UIViewController <CustomImagePickerDelegate> <AboutViewControllerDelegate> 

言うまでもなくCustomImagePickerためのデリゲートともデリゲートする必要があります。 ありがとうございます。

答えて

1

はいです。たとえば、コード内:

@interface FlipsideViewController : UIViewController <CustomImagePickerDelegate, AboutViewControllerDelegate> 
関連する問題