I want to add 100 SMS in my iPhone programmatically. Does anyone know how to do it?
You can use MFMessageComposeViewController to present a viewController filled with text and numbers to the user. But you can't send automatically sms.
You could use web based SMS API services I believe. Take a look at Twilio as an example. Also the One API Gateway is currently rolled out across Canada and will be expanding to other markets soon
Related
I want to develop an iphone app ,in which user can send a common message (Broadcast Message) to unlimited (Select All Contacts) and send to all at one time (In single attempt ) .It's possible to share images or text you want through Whatsapp in a iOS app?
Any idea regarding this?
There's also a WhatsAppKit on Github now: Check Link
There is no way you can use Whats app into App up till now. If so than also i will suggest not to rely on that.
If you want to make an feature for to broadcast a text message or image the best way is to implement your own. You can do the following:
Use xmpp Protocol
Implement push notification to notify for new broadcast messages
Create API for sending/receiving text messages & image & call it when you get notification
For more guidance refer this : http://quickblox.com/developers/SimpleSample-chat_users-ios
I'm creating an application that has a compose SMS feature. I do not want to use the iPhone's default MFMessageComposeViewController. I want to know how to add and remove recipients for SMS (create bubble and remove it) using another technique.
The only way to compose an SMS on iOS is to use the MFMessageComposeViewController. Using anything else will get your application rejected in the App store.
I used this code in my app in order to send background sms
But i am not able to upload app on itunes it says:using non public api
#class CTMessageCenter;
can any one tell me any way to send schedule sms when application is in background
or
can any one tell me any way to send sms without presenting SMS composer
There is no "legal" (aka permitted by Apple) way to do this.
The only work around I can assume is having a webservice on a server side, which would be the one sending the messages. You're app should communicate with the server and tell him what to do (text, hour...)
You cant :) why would apple let you send sms on peoples behalf?
Is it possible? Developers can use SMS URLs to populate the phone number, but I haven't found a way to populate the message body.
This other look at the topic from before the NDA was lifted:
How to programmatically send SMS on the iPhone?
was unable to find a solution. "sms:" URLs work but no "body" tag is respected. As a suggestion, send a feature request to Apple. You won't be the first person to request this feature but despite their seeming silence, Apple do read each request.
This is not currently possible via the iPhone SDK.
I don't think it's possible.
I'm still new to the API and I wanted to ask:
Can you send a text message programmatically?
Can you access the users contact list programmatically?
I'm thinking no. I haven't seen anything about text messaging in the API, and I figure the sandboxing that the iPhone does keeps you away from the phones contact list.
Thanks everyone.
1) I'm afraid you can't send SMS with the iPhone SDK although you can make a link to send an SMS like so:
a href="sms:408-555-5555">408 555 5555</a>
2) You can access the contact list with the Address Book UI framework
one way round the sms/mms problem is to use an external aggregator then you can utilise http between a server and the iphone to send sms obviously there is a cost involved this way to the developer
Yes You can build an app to send SMS.
All u need a server API, which u gonna call through ur code, to send sms.
I am saying this bcoz i am currently working on it.
As soon as i m done with my app,i am gonna share it.
http://shishir.com?from=shishir&to=shishir&message=hi&sandbox=false&username=user&password=pass
u hv to pass values through URL.
will go in deep very soon.
regards
shishir