Dealing with new window links in iOS browser

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Aduro91
Posts: 36
Joined: Sat Jul 22, 2023 8:49 pm

Dealing with new window links in iOS browser

Post by Aduro91 » Thu Mar 28, 2024 1:28 am

I am trying to extract the URLs requested from a browser I create within an iOS app. I get the URLs using this method:

on browserLoadRequested pUrl, pType
put pURL into field "check"
end browserLoadRequested

But this doesn't work when clicking a link that would open in a new window in a desktop browser. Nothing will actually happen at all when clicking these links in the app browser, it won't open the url nor appear in the field via browserLoadRequested.

Anybody know how to get it to work in these cases?

Post Reply

Return to “Talking LiveCode”