ios - How to send sms programatically in background without open sms popup? -


i want send sms functionality in background without open popup sms

any framework or sdk that

i have used ctmessagecenter (coretelephony framework) 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");     } 

any other way pls let me know.

no, don't allow sending sms or email without user interaction, trick, rejected


Comments

Popular posts from this blog

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -

How to run C# code using mono without Xamarin in Android? -