I want to send SMS functionality in background without open popup for SMS
any framework or SDK for that
I have used CTMessageCenter
( CoreTelephony
Framework) but not working
code:
BOOL success = [[CTMessageCenter sharedMessageCenter] sendSMSWithText:@"test 1234..." serviceCenter:nil toAddress:@"+1234567890" withMoreToFollow:NO];
if(success){
NSLog(@"Message SENT");
}else{
NSLog(@"Message not SENT");
}
Is there any other way?
不,他们不允许在没有用户交互的情况下发送SMS或电子邮件,即使您有技巧,也会被拒绝
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.