を呼び出したいpresentModalViewController.UIView
のモデル クラス サブクラスを 1 つUIView作成し、アクションを含む 3 つのボタンを作成して、UIView. メッセージの送信に関する小さなコードを書きました。その中で私は呼び出しpresentModalViewController、そのビューを に追加しますfirstViewController。
出来ますか?
にコードを書きましAppDelegate->application:didReceiveLocalNotification
た 通知を受け取った後、このビューが追加されますMainViewController
NotifViewModel *remainderAlert = [[NotifViewModel alloc]initWithFrame:CGRectMake(40, 60, 250, 300)];
[remainderAlert showRemainderAlert1];
[self.viewController.view addSubview:remainderAlert];