iOS Tutorials

Installing B4i-Bridge and debugging first app

B4i-Bridge is an application that you install on the device.
It has three purposes:
1. Launch the installation process when needed. This step is done with Apple Configurator 2 if using a local...
 
Last edited:

Local Mac Builder Installation

Edit: Apple Configurator 2 must be used when using a local Mac:
iOS compilation...
 
Last edited:

FirebaseNotifications / Push Messages (server not required)

Attachments

  • SendingTool.zip
    1 KB · Views: 2,131
Last edited:

Creating a certificate and provisioning profile

Don't panic!
While this process can be a bit annoying it is not too complicated and you can always delete the keys and start from scratch (which is not always the case in Android).

Note that you...
 
Last edited:

GoogleMaps Tutorial

The iGoogleMaps library allows you to show a map inside your app:

SS-2014-11-17_09.18.50.png


It is similar to B4A GoogleMaps library.

1. In order...
 
Last edited:

Push notifications

Last edited:

[Objective C] Writing libraries for B4i

B4i libraries are written in Objective C. You need to use a Mac with Xcode and you need to know Objective C.
From my experience it is more difficult to write B4i libraries compared to B4A / B4J...
 

Attachments

  • Libraries.zip
    101.8 KB · Views: 1,072
  • B4Ih2xml.jar
    98.2 KB · Views: 741
Last edited:

Background location tracking

iLocation library allows you to track the device location when your app is in the foreground.

Using the code posted in this tutorial you can mark your app as a special kind of app that requires...
 

Attachments

  • BackgroundLocation.zip
    2.6 KB · Views: 805
Last edited:

iStore - In App Purchases

The iStore library allows you to use the store In-App Purchases features inside your app.
You can let the user purchase digital products from inside your app.

(Unsurprisingly) the configuration...
 
Last edited:

iMedia library - Camera and VideoView

VideoView is an object that makes it quite simple to play local or remote videos.

The most important thing to remember about VideoView is that the object itself is not a View (unlike in...
 

Attachments

  • CameraExample.zip
    3 KB · Views: 924
Last edited:

Background Fetch (Downloads)

Background fetch feature allows applications to run for a short period of time (up to 30 seconds) while in the background.

The steps required to use this service are:
1. Add the fetch mode...
 

Attachments

  • main.zip
    516 bytes · Views: 991
Last edited:

Location & GPS

The iLocation library allows you to get the current known location and to monitor location updates. You can also monitor the device heading direction.

As the location is considered a private...
 

Attachments

  • LocationExample.zip
    3.5 KB · Views: 2,285
Last edited:

Publishing your app to the App Store

This tutorial explains the steps required to create a store ready ipa file.

1. The first step is to uninstall your app from the device and install it again in Release mode (Tools - Build Server -...
 
Last edited:

Open local files with external apps

iPhone library v1.40 includes a new object type named DocumentInteraction.

With this controller you can allow the user to open a local file with an external app (this is the other side of...
 

TableView - "B4i ListView"

The TableView view from iTableView library wraps the native UITableView control. This control is similar to B4A ListView though it is more powerful.
Do not confuse TableView with Table...
 
Last edited:

PageViewController

PageViewController is a pages controller (similar to NavigationController and TabBarController) that allows the user to switch pages with a swipe gesture. It is similar to B4A ViewPager.

Using...
 

Attachments

  • PageViewController.zip
    4.5 KB · Views: 1,478

Installing apps with Apple Configurator 2

Starting from B4i v7.20 it is possible to install apps, when the iOS device is physically connected to a local Mac, using Apple Configurator 2.
It is supported by all iOS versions and is a must...
 
Last edited:

Inline Objective C code

B4i v1.80 adds support for inline Objective C code. This means that you can add Objective C code to your modules and they will be compiled together with all other code.
You can then use...
 

DropboxSync Tutorial

Dropbox has dropped support for this API. It doesn't work anymore.

The iDropboxSync library allows you to use Dropbox Sync service to manage an app specific folder inside the user Dropbox...
 

Attachments

  • DropboxSync.zip
    52.2 KB · Views: 609
Last edited:

FirebaseAuth - Authenticate your users (Google + Facebook)

Attachments

  • FirebaseAuthGoogle.zip
    26.5 KB · Views: 1,236
  • iFirebaseAuth.zip
    69.6 KB · Views: 540
Last edited:
Top