ShowURL Declare example uses deprecated OpenURL?

I’ve successfully figured out how to use this example declare to open email, phone, and map URLs. Cool.

http://documentation.xojo.com/topics/declares/examples_for_ios.html

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:

http://files.xojo.com/BlogExamples/ShowURL.xojo_binary_project.zip

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.