Basically the problem is my app has some very specific server settings that will change from store location to store location.
Instead of me telling the client over the phone what to set their phone as.
Server IP:
Username:
Password:
Service IP:
etc.
I'd like to be able to send a text message to their iDevice witha URL Scheme that they will tap and will automatically activate my app.
Can I send a message like this?
"And apparently I need 30 characters :P to be able to post..."
This is quite simple. I think what you want to implement is what Apple called a "custom URL scheme"
You can find it in this Apple documentation at page 122.
First, your application registers to the system at install telling it that you will handle this URL scheme, for example, "myapp://"
Then, you simply text it to your client.
Related
My issue is that I’m trying to parse my deep link for information to then change a users password. When I send the password reset email I included the users email address within the deep link parameter, however is there a specific way to parse this using FDL library once the link is opened in app? For security purposes there must be a way to verify the generated action code in the deep link to verify the link is legitimate aswell? I know that the fire base docs touch on this for web applications, but it doesn’t go into specifics for IOS.
Best,
James
I'm working on an app which logs automatically in to a hotspot service (Fon Hotspots).
The service I want to uses is a unprotected WiFi-connection which asks a login and password in the first screen you open.
I want to let the app do it automatically so you don't need to do it each time by yourself.
So you need to enter before your login and password in the app and save it.
Can someone tell me which functions I need to use and how it works?
It is my understanding that the iPhone takes care of network connections for you. I think you just need to test to see if the device is connected to a network and then do whatever you need to do.
I observed in a Hotel I am that when other apps trying to access the internet a pop-up appears that ask the iPhone user to enter the user id and password of the Hotel's Wireless LAN. I guess it is some kind of redirect on all requests to protect misuse of the WLAN.
I have an app and it does use the NSURLConnection but I am not getting the pop-up instead it goes via the regular data network of the carrier. I removed the SIM to see what happens then and then the connection fails with an error "The Internet connection appears to be offline".
I wonder whether this is because the NSURLConnection does not provide such a pop-up and this other apps (e.g. Safari, e.g. WhatsApp) use a different API. One the other hand I thought that might be what the documentation says is the "Authorization Challenge". I have implemented those delegate methods but they are not called.
If someone with some experience on this can help me.
Search the documentation for the UIRequiresPersistentWiFi Info.plist key - there are some tradeoffs (users will get an alert every time they open your application if their phone is in Airplane Mode - doesn't seem to be any way to turn that off) but that should force it to make the connection.
Typing on iPhone is tedious; I'd like to prompt my users for their email address without requiring them to actually type it.
Ideally they'd receive a dialog saying: "This app would like to use your email address. Don't Allow / Allow"
If the user tapped "Allow," it would auto-fill their email address (the one they have configured in Mail.app) in a text field.
Is this possible?
Nope. But you can load up the contact picker interface and ask the user to select themselves from it-- that's much more friendly than making them type it in.
More info here:
http://developer.apple.com/iphone/library/documentation/ContactData/Conceptual/AddressBookProgrammingGuideforiPhone/200-QuickStart/QuickStart.html
Yes it is possible, have a look at ABGetMe for iOS. Note that you would have to write the allow/don’t allow dialog yourself. Also, make sure to read and understand the Limitations section of the README.
I need to run my iPhone application when user gets email with attachment of specified type and process it. For example "some.jpg". How?
You're not going to be able to take over a basic file type like this on the iPhone. The closest you can come is to implement your own custom URL scheme, which would let you have your application be launched in the same sorts of circumstances if you're the one sending the email...
What this means is that you could make it so an email link like
myspecialimage://mycoolserver.com/some.jpg
launches your special application when a user clicks in.
See this link or the Apple documentation for guidance.