2
밀어 넣기 알림을받을 때 현재보기 컨트롤러 (현재 사용자보기)의 기능을 실행하는 방법은 무엇입니까? 사전에didReceiveRemoteNotification - 현재보기 컨트롤러의 함수 호출
덕분에 ..
밀어 넣기 알림을받을 때 현재보기 컨트롤러 (현재 사용자보기)의 기능을 실행하는 방법은 무엇입니까? 사전에didReceiveRemoteNotification - 현재보기 컨트롤러의 함수 호출
덕분에 ..
가장 좋은 방법은, 제거 통지를 처리하는 앱 대리인의 방법, 그리고 하나를 추가 할 NSNotificationCenter를 사용
[[NSNotificationCenter defaultCenter] postNotification:@"remoteNotification" withObject:whateverYouWantHere];
NSNotificationCenter
를 사용하여 알림을 보낼 수 있습니다 관심있는 UIViewController는 "remoteNotification"이름의 옵저버입니다.