내 코드입니다 : 그것은 시뮬레이터에서 제대로 작동하지만 SIM 카드없이 아이폰에서 작동하지iphone 앱에서 SIM 카드 감지가 작동하지 않습니까?
if(![MFMessageComposeViewController canSendText]) {
UIAlertView *warningAlert = [[UIAlertView alloc] initWithTitle:@"Error" message:@"Your device doesn't support SMS!" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
[warningAlert show];
return;
}
.
감사 mauris ..... – ragu