Created a nice software using SpiderBasic ? Post you link here !
jamirokwai
 
Posts: 33
Joined: Fri Sep 25, 2015 12:00 pm

SpiderBasic to iOS

by jamirokwai Tue Mar 07, 2017 7:51 am

Hi there,

in a previous project, I had to intercept url-calls from within an App on iOS to show the iOS App Store.

The repo on GitHub contains a simple web-export from SpiderBasic implemented into a Xcode-project. The two buttons are caught by iOS, and will present a Twitter, or Facebook-sharing controller.

It's easy to do:

1. Add (in test.sb)
Code: Select all
! window.location='http://twitter';
to a procedure called by a button.

2. Export as web-project, including SpiderBasic-libraries.
3. Copy to the web-folder in Xcode-project
4. Add (in view controller.m), below // Callback for the web what you would like to intercept.
Currently, there is a twitter, and a Facebook call

Post you approved Apps here :-)
And feel free to fork, and extend the code!

Have fun!

Cheers
Jörg

Repo on GitHub: https://github.com/onewolfgames/SpiderToiOS
Return to Showcase

Who is online

Users browsing this forum: No registered users and 3 guests