- (IBAction)ButtonPress:(UIButton *)sender {
- (void) ButtonPressed: (id) sender
{
if (sender != self.done)
return;
if (self.zahlencode.text.length > 0)
{
zz =[self.zahlencode.text intValue];
if(zz == a)
{
[self performSegueWithIdentifier:@"1" sender:self];
}
}
}
}
공허에서
의 buttonPressed Use of undeclared ButtonPressed
을 말한다 내가 작업없이이를 사용하는 경우 응용 프로그램이 충돌을 구축 오류가 있습니다. 나는 거기에 예외 중단 점을 넣고는이 오류IBAction를 알 수없는 오류
2014-03-19 10:19:53.295 AbteiRD[8873:70b] Cannot find executable for CFBundle 0x8a91780 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)
(lldb)
중괄호 ** ** **를 잊었습니까? 권리가 있어야합니다 :'- (IBAction) ButtonPress : (UIButton *) sender {}' – lee
오, 나는 내가 공허의 끝에 있어야한다고 생각했습니다. 불쾌한 점을 테스트 해주세요. – user3436851
왜 IBAction에 - (void) 메서드를 넣었습니까? – Granit