iOS Tutorials

Simple Parallax Scrolling iSpriteKit

here is an example of how to make a simple Parallax Scrolling using iSpriteKit

B4X:
Sub createBackground(myScence As SKScene)
    'first create Sky
    Dim sky As SKSpriteNode...
 
Last edited:

Geofence - Monitoring a region

This example extends iLocation library to allow monitoring regions in the background.

The code is pretty simple. You first need to create a circular region which you want to track and then call...
 

Attachments

  • Geofence.zip
    169.6 KB · Views: 848
Last edited:

[Tool] Swifter - Inline Swift code support

Here you can find a new (experimental) tool called Swifter (v. 1.0 beta) which allows you to add Swift code to your B4i Project.

How to use?
  • Open Swifter and enter the B4i...
 
Last edited:

iBeacons

iBeacons are small, low powered peripherals, that use BLE (Bluetooth Low Energy) to advertise their information.

The BeaconParser class can be used together with the BLE library to search...
 

Attachments

  • iBeacon.zip
    3.1 KB · Views: 585

CSBuilder - AttributedStrings builder

AttributedStrings are strings with additional styling information.
CSBuilder is a new type added in B4i v4.00 which helps with creating such strings. It is an alternative to iRichString class...
 
Last edited:

Facebook Mediation With Admob

Hello,

With the great help from Erel, I want to post a very short and easy tutorial for showing facebook audience network ads on our iOS apps. This will be a short one as I described every step...
 

File browser capability

Hi All

I would like to bebable to browse files on my iOS device via my App.

The easiest was is to share the DirDocuments and deposit files in there using iExploere or some similar browser. That...
 

Swift libraries

B4i supports libraries written in Swift and compiled as frameworks.
Note that adding swift frameworks makes the compilation process considerably more complicated and it is recommended to avoid...
 
Last edited:

LocalNotifications for iOS

Hello,

I have tested LocalNotifications.zip for iOS, but i don't see the notification.
I have not error, nothing happens.

I send you a link below to see this problem...
 

script mode

I try to do the tutorial at page 142 in B4i beginner's guide but i have the following error...

scrit-mode (read only)
click on the properties grid to exit this mode....

Where it is ????
Capture.JPG
 

ATS - App Transport Security

ATS is a security feature that prevents applications to make non-ssl http connections. This means that when ATS is enabled applications can only access https urls.

Starting from 1/1/2017, ATS...
 
Last edited:

Add QuickActions to your App

Hi,

in this thread I want to show you, how to add QuickActions/Shortcuts to your App. QuickActions require 3D touch support and iOS 9 (minimum).

1.) Download the QuickActions tool, to...
 

Attachments

  • Tool.zip
    321.2 KB · Views: 529
  • QuickActions.bas
    2.2 KB · Views: 588
  • Example.zip
    2 KB · Views: 514
Last edited:

BarButton icons

Attachments

  • FontAwesome.zip
    168.9 KB · Views: 1,471

Compile As Library

B4i v3.50 adds support for library compilation. This is similar to the feature available in B4A and B4J...
 

MJPEG / CCTV Server

Attachments

  • CCTV.zip
    3.9 KB · Views: 805
Last edited:

Share data from your app with ActivityViewController

upload_2016-11-17_9-57-25.png


ActivityViewController allows the user to share data from your app using the standard share dialog.
It was added in iPhone library v2.00.

Using it is simple. You need to...
 
Last edited:

AdMob - Rewarded video ads

AdMob v1.50 (included in B4i v3.0) adds support for rewarded video ads.

Rewarded video ads are video ads where the user is rewarded if he watches the full video.
How is the user rewarded is up...
 

AdMob Ads Mediation (with InMobi)

How to submit your app to Apple iTunes

This is for local compile i.e. using your own Mac.

So you`ve written your first iOS app, tested it on your device and now want to upload it and make your first $million. Read on...

You`ll need...
 
Last edited:

Send Push Notification with OneSignal

Hi there,


In this tutorial I use onesignal rest api and send device token to onesignal and store it

1. Register in onesignal.com and create an application

2. Export .p12 file from certificate...
 

Attachments

  • onesignal.bas
    991 bytes · Views: 695
Top