I have an app where I want to send mail.I have a button where it directs to the MailComposer sheet,It works pretty well in my simulator but can't send the mail so I need to use the device my problem was every time I clicked the button to direct it's mail composer the device doesn't support the MFMailComposer sheet, the device that I was using was a 3G iphone.
Check if the device has at least one mail account added.
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.
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 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?
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.
Is it possible to implement IPhone's push notification service for a
Webapp that has an icon on the "desktop"? If so how?
That depends on exactly what you mean by Webapp that has an icon on the "desktop"?
No, if you're referring to a webapp where you have saved a link with Add to Home screen as per this Apple instruction.
Yes, if your webapp is a thin CocoaTouch shell using webkit.
i have an alternative solution for this:
1) create a gmail account and get gpush app on your iphone (setup the gmail in the app).
2) instate of sending direct notification to iphone, you can send an email from your webapp to the gmail account.
3) within 5 sec. you will receive the push notification.
hope this help.
You can always delegate the messaging to 3rd party notification apps.
One great example is Boxcar (http://boxcar.io/).
You can have your web app send notifications via their API and have them delivered to the app. Lastly, you can the use deeplinks in your message to open your webapp to point the user to the content item you wanted to bring their attention to.
No, it's not possible. It's only for cocoa touch (AppStore) apps. If you want more info, take a look on the documentation.
another alternative: use an sms service like http://www.smstrade.de/ to send an sms to the user's phone. That's the way I do it.
Another provider for sending sms as notification is https://bulktrade.de
There works world wide
You can use HTML5 to introduce your own push messages. From wikipedia
"For the client side, WebSocket was to be implemented in Firefox 4,
Google Chrome 4, Opera 11, and Safari 5, as well as the mobile version
of Safari in iOS 4.2.1 Also the BlackBerry Browser in OS7 supports
WebSockets."
To do this, you need your own provider server to push the messages to the clients. If you want to use APN (Apple Push Notification), you must have a native application which must be downloaded through the App Store.
From iOS 6.0 I noticed that a WebApp icon placed on homescreen automaticly refreshes after each webkit open of webapp. Of course if you change this icon on the webserver. So theoretically you can display any informative content in this icon(numbers, status etc) BUT it will not refreshes instantly - only after opening and closing a webkit webapp.