Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
I experimenting get url function. It is working as expected in Android and desktop platforms but it doesn't get any url in iOS. It only shows blank. here is my code..if it's a bug what LC version would be better option?
on mouseUp
local tURL, pConnectivity
put url "http://www.google.com" into tURL
if tURL is empty then
put false into pConnectivity---no connection
else
put true into pConnectivity--connected
end if
answer pConnectivity
end mouseUp
Cheers,
Louis
Last edited by Jellobus on Sat Jan 23, 2016 7:03 am, edited 1 time in total.
on mouseUp
put "http://www.google.com" into tURL
put URL tURL into testTemp
if testTemp is empty then
put "No Internet Connection"
else
put "Connected"
end if
end mouseUp
Starting with iOS 9, Apple no longer allows direct access to non HTTPS URL requests. You will either have to use an HTTPS link or check the "Disable ATS" checkbox that is present in the iOS Standalone Application settings.