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
Related
i have an application which is working fine. i add chatting to the app with notification. Any time users are chatting it send notification both in foreground and background.
my question:
how can i add notification reply just like WhatsApp. if a user send me message and i get the notification, i should be able to reply from the notification without opening the app.
Thanks
Have a look at this package: Awesome Notifications. It is still under construction but it will enable you to display custom notifications including a TextField that you can show when a real Push Notification got received.
I have an app built in flutter and I am sending certain notification via firebase messaging to a given device. When that device receives the notification, I would like that there will be an alarm a bit like when you receive a phone call. I would like the alarm to go on until the user do not open the notification.
Is there an easy way to achieve this in flutter? I s it even possible?
Thanks
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.
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.
How can I send a SMS from an iPhone programmatically?
Yesterday, I found an example code and coded it but the code gave me a SMS dialog (internal SMS dialog).
I just want to send a SMS programmatically without the internal SMS dialog.
Is there any example code?
Unfortunately, what you describe is completely impossible without a jailbroken device.