2011-02-09 4 views

답변

1

NSNotification Class Reference을 확인하십시오. 당신이 당신의 getCurrentCycle을 변경해야합니다, 또한

[[NSNotificationCenter defaultCenter] postNotificationName:@"getCurrentCycle" object:nil]; 

:

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(getCurrentCycle:) name:@"getCurrentCycle" object:nil]; 

당신이 getCurrentCycle를 호출 할 때,이를 추가하십시오 getCurrentCycle 방법이있는 컨트롤러에서

다음 추가 ~까지 :

- (void)getCurrentCycle:(NSNotification *)notification 
관련 문제