Is there any way for display IOS push notification text in HTML format?
No rich text is not support by Apple Push Notification. You could have easily found this in the APNS documentation
Related
I am using phonegap-plugin-push to send push in my ionic 3 app.
Normal notifications are working fine. I want to send big picture style notification from ionic dashboard. How can I do it? Which payload should be used in dashboard?
Finally I found it. Push plugin has no check for payload. I added a check & it worked.
actually am developing an iOS application that allows the user to send his position via mail or sms.
I want just to send an email containing a link like http://maps.google.com/maps?q=London
Then the receiver have just to touch that link to open maps application
Is there any way to do that
thank in advance
That's built-in to the Mail app in iOS. If you send yourself http://maps.google.com/maps?q=London in an email, and open it on an iOS device it will automatically link it to the Maps app. If you want to link to the Maps app from a different app see this link How can I launch the Google Maps iPhone application from within my own native application?
You can do something like putting a hyper link inside the message body of the email, and setting the isHTML property to YES when making the message body of your MFMailComposeViewController.
Try looking into the MFMessageComposeViewController and MFMailComposeViewController classes. MFMessageComposeViewController has the body property while MFMailComposeViewController has the setMessageBody:isHTML: method.
After you implement these modal view controller you can easily take http://maps.google.com/maps?q=London set the respective property/use the respective method to fill the message/email body with your maps link along with any other text you want to add.
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.
I'd like to be notified of certain events on my webserver with a push notification from my website to my iPhone. Is this somehow possible, or do I have to install/create a special App for this?
In order to use Push Notification it would have to be a native iPhone app on your phone. You might be able to set up some sort of email notification coming from your website and turn on push notifications for your mail client on your iPhone.
In regards to #gnuf's post (Sorry it wouldn't let me comment on your post) Your web server can act as the Provider of Push Notifications but will still require a native application on the phone to receive the notifications.
You can definitely send notifications triggered from a website: you just have to hook up the backend to do so. See this previous post for more information.
I have a mailto: link in UIWebView, but when I tap it nothing happens,
How can I open email editor?
thanks
I've tried in this moment with mobile safari on my iPhone and when I tap on a mailto: link it open email composer.
Are you trying to do this in iPhone simulator?
If not, have you configured an email account on you iPhone?