I am working on application. I want to send sms to number directly by clicking button in my app. currently my app is sending sms to number but it first shows the messages view and then there is a send button as i've done:
presentModalViewController:controller
i want the message to be sent without showing the Modal view
You can't this is not allowed.
This way you could send hunders or thousands of messages without the user noticing, thus apple does not allow you to do that.
That's not possible. You have to show the user de message view where he can send the sms. If it would be possible to add a 'send sms' function directly to a button, that would be a huge security flaw!
No. There is no official way on iOS to send a message without presenting the dialog and the user clicking send. Maybe on a jailbroken device you could, but definitely not on the app store.
Related
I'm creating an iPhone app that uses the native iOS mail app. Is it possible that when the user clicks either cancel or send in the mail app, it can then redirect back to the app itself without having to reopen it?
Is it then also possible that when the user goes to access the mail portion of the app, it can display the mail app within my app in a webview type manner? Thanks.
No, you cannot change the functionality of another publisher's app, especially Apple's. But it sounds like you can accomplish what your want to do by using MFMailComposeViewController. It allows you to send an email from within your app, i.e. without leaving it to go to the native mail client.
If what you are doing is just sending emails you can display a MFMailComposeViewController to allow user to send emails without leaving the app.
Hello I was wondering if there are any methods that would allow me to interact with the iphone users. What I mean is like UIALERTVIEW of some sorts that will popup and update them with a status. But I don't want to have a fixed status, but one I can change anytime I want, like say if there is a day off, I want to provide a status over the air and when the user opens the app it will show the new message.
Is this even possible?
If there are any other alternatives please list them
The easiest solution would be that your app is contacting your website and downloads any message it should show on startup.
You can use Push Notifications to send users important updates automatically.
What you are looking for are called Push Notifications. They can put small numbers on your app's icon like the email app when you have new emails, or even show you popups when you need it. Start here: https://developer.apple.com/appstore/push-notifications/index.html
you can use Push notifications .. or build your own notification system by design a function fired when your application launching to contact your website and check if there any new notification .. then you present a pop , view whatever to show the notification.
When a SMS comes, I don't want sms alert appear in some condition.So what can I do to prevent it? I look into SBSMSAlertItem,but can't find a method to disable alert. I think I can use mobile subtrate to do this, but which method should I hook?
Thanks.
You can not stop system's notification in your application. you should refer this SO post
iPhone: How to Programmatically Respond to SMS Messages
I am sending text message using MFMessageComposeViewController in my iphone application.
Is there any way to send text message automatically without prompt user to send by pressing send button?
You cannot do this in iOS without using private APIs.
I'm developing an Mobile Banking app on iPhone. This app use SMS message to send and receive data with server.
(This app of a bank)
I'm using the MFMessageComposeViewController control to send SMS to server.
The message content has been encrypted.
So, I don't want user can see the message content (I want to hide the message content on this control).
Is it possible to hide the content of message on the MFMessageComposeViewController control?
I found one app on App Store can custom the
MFMessageComposeViewController control:
http://itunes.apple.com/us/app/automatic-custom-sms/id409247779?mt=8#
How to custom this control?.
Thanks
I don't think you want that control. I would google for "programmatic sms". I found this
I dont think you can hide the interface or any UI items from the MFMessageComposeViewController as it is provided to you by the iphone itself.
So,what you can do is make a similar interface and then use other methods such as using third party web solution to send mail.