Prompt user to Network if no network detected
I've look on the supported forums, samples and kitchensink but can't seem to find this – Is there a way to prompt user to iPhone network setting instead of alert message?
if (Titanium.Network.networkType == Titanium.Network.NETWORK_NONE){
alert('blah')
}
2 Answers
-
Accepted Answer
Do you mean that instead of showing them a message, you want to launch right into the Settings app? If so, no, you can't do that.
Or did you mean something else? Please describe the behaviour you are expecting/want.
Regards,
Bill
-
Hi Bill, that's correct.
If i'm right, you can't do "user confirmation" with present mobile sdk too right? I would love both features on future update. A user confirmation to prompt for an answer and direct user to device system setting.
Thanks,
Daniel