Prompt user to enable SMS on iPad - ios

I am using MFMessageComposeViewController to send messages. I use canSendText before sending the SMS. However if canSendText returns false i would like to take the user to setting->messages in iPad so that he can turn on messages. Is there a URL Scheme or something other way I can do this ?

This was possible is iOS 5.0-5.0.1 using the prefs:root= url scheme. However, Apple promptly removed this ability in 5.1. Sorry your out of luck. The best we can do is keep filing bug reports on Radar asking for this feature back.
EDIT: From what I've found, there is a way to still do this in 5.1+ for Twitter settings and this may work for messages as well, as long as the message controller conforms to UIAlertView delegate like the twitter controller does (personally not sure about this one), but it absolutely won't work for anything else. Maybe you're in luck after all!
http://goto11.net/programmatically-open-twitter-settings-on-ios-5-1/

Related

SMS/iMessage auto-responder on iOS

I was wondering if there were any way to, on an iPhone (will root/jailbreak if necessary), detect when you I receive an SMS message from a person and automatically then respond. I will not need to post this on the app store so anything violating that is not an issue.
Personally I am more familiar with android and that is why I am asking for your help.
Autoresponder 3 should do the trick for you.

iOS Show UIAlert in Safari when using My App's Share Extension

I'm developing a simple content blocker for iOS 9+ devices. Everything seems to be working fine in terms of blocking ad's / trackers etc and I even have the ability to 'whitelist' websites directly from Safari using a Share Extension Action.
My question is when the user taps Action > My Apps Share Extension [which adds it to a list inside the main app] I want to show a simple Alert that says something like 'This site has been added to your whitelist..." for a few seconds and then disappear.
... how do I do this?
**UPDATE I have read all of Apples documentation on this but still can't figure it out. The post here does actually refer to how to design a streamlined UI but doesn't really cover my situation.
Hoping someone will know :-)
Why you don't use Notifications for this , you can have your notification style set to show like an UIAlert. You can see something like that in Calendar app in iOS.
UPDATE:
I did a little bit more digging , it's not possible to change the style programmatically according to this. So the best choice is handling it when your app is in foreground. I can't think of any other OS wide solution other than local notifications.

How to put notifications for ios with cordova-phonegap

My company is building its mobile app. Do you know if setting notifications for a mailling system in the app is possible? like the facebook chat who notifies you when you have a new message on your phone.
For the moment the answer seems to be 'no, but you could do it in native'. Is it true? is there anything (plugins, ...) to do it?
Thanks.
Ok my bad, i've found this : http://cordova.apache.org/docs/fr/3.1.0/cordova_notification_notification.md.html
The developpers said that wasn't possible, but here it is, it's possible.

feedback form in iOS app - allowed?

Would anyone one know if Apple has restrictions on providing a user feedback/bug report form within an app? I've searched around but haven't found anything very clear. Might seem a dumb question but I don't want to waste time on it if it is not allowed.
Also, assuming it is allowed - I guess I would do it through a server-based php script, rather than trying to wire it up through the user's email. I am not trying to capture the user's email or anything like that - just feedback/bug responses.
Cheers!
I believe companies like Uservoice and GetSatisfaction have mobile sdks for submitting feedback about apps.
Uservoice lets people submit anonymously, GetSatisfaction requires an account.
You can do this however you would like, lots of apps support emailing feedback but if you prefer to put in the work you could also do custom fields and have it simply send the response back through your own server.
Yes, it's allowed, and there's nothing to stop you doing it through email either - what is the difference between emailing a bug report using MFMailComposeViewController and emailing anything else?

Possible to send automated email?

The iOS SDK class MFMailComposeViewController can be used to let the user compose an email message.
What I'd like to do, is for the iOS app to send an email in the background, with no user interaction. Is this at all possible/allowed in the iOS SDK?
Nope. There isn't any API available to do this. You'd need to roll your own SMTP client and have the user enter credentials into your application. On top of that Apple may not approve this.
Unfortunately, I don't think Apple would ever allow this because (for example) then you could just get everyone's email address by auto-sending mail to yourself. :(
I actually wanted to implement something like this for the express purpose of alerting me when a critical error happens on an app in the app market.
Best solution would be to create an API (just ping a php file or something), and have it send the relative alert message to your email).

Resources