I’ve successfully figured out how to use this example declare to open email, phone, and map URLs. Cool.
The Examples/iOS/Declares/ShowURL app included with Xojo uses this.
In exploring Apple’s documentation, it appears that OpenURL is deprecated. Any possibility that this could be updated? Or is that a problem at all?
To use the newer method you have to add the additional parameters, one of which is a Block.
Here’s an updated project with the changes:
Thanks, Paul. That works great. Recommend updating the Declare-iOS docs and the example project when you get a chance (like you have nothing else to do!).
Already done earlier today.