iOS Tutorials

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: 977
Last edited:

B4XPages Tutorial Series

 

Tip: on device logs

I'm not sure whether it is a new feature in iOS or I simply wasn't aware of it, but it is a very useful one.
Apparently you can access the crash logs from the settings app. This helps when you...
 

How to Install B4i Bridge when you have a new device and an exisiting B4x user and get Integirty not verified.

I wanted to
If you are an existing B4i user only I would like to add B4i Bridge and have a new phone like I did, and you have already been using B4i , This was how I did this

NOTE - If you...
 

New iOS device - This app cannot be installed because integrity could not be verified

I've just wasted a bit more time than expected, installing B4i-Bridge on a new iPhone.

A few tips:
1. Enable developer mode: Settings - Privacy & Security - scroll down - Developer Mode
2. Don't...
 

BLE Chat - Connecting Android and iOS


This example is based on the new PeripheralManager type introduced in iBLE v2.00.
Please start with this tutorial...
 

Attachments

  • BleCentral_B4i.zip
    3.3 KB · Views: 1,502
  • BleCentral_B4A.zip
    9 KB · Views: 761
  • BlePeripheral_B4i.zip
    2.9 KB · Views: 627
Last edited:

multiple modes in plist

I wanted my program to run in the background. (Ios requires an addition to the plist, android requires addition to the manifest) It includes both location and audio. You can find out how to do...
 
Last edited:

Open external files with your app

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,467

Picking external documents with DocumentPickerViewController

SS-2018-11-15_16.16.20.png
]

iUI8 v1.60 adds a new type named DocumentPickerViewController. This picker allows the user to choose an external...
 

[Deprecated][Tool] iWidget - add a today widget to your App

Important: This project is deprecated and should no longer be used!


iWidget is a (experimental) tool which allows you to add a today widget to your B4i app.
widget.PNG
...
 

Attachments

  • Modules.zip
    1.3 KB · Views: 901
  • WidgetHelloWorld.zip
    5.5 KB · Views: 888
Last edited:

StoreKit2 - Server to Server communication with Apple servers - Clear purchases history for sandbox tester

Third party antivirus interferes with b4i

Perhaps this is well known, if so sorry. My third party anti-virus software may have been interfering with B4i (worked fine on android!). I use AVAST and had to create an exception for B4i. After...
 

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:

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:

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:

Test web back ends in your computer without fiddler and see what your app will post

 

Apple: "Account deletion within apps required starting January 31"

"The updates to App Store Review Guideline 5.1.1 last June provided users with greater control over their personal data, stating that all apps that allow for account creation must also allow users...
 

Add UIRefreshControl To CustomListView

Original Tutorial by @narek adonts

Create a standard class module (Let assume the name of the class is UIRefreshControl),
B4X:
Sub Class_Globals
    Private CSB As CSBuilder...
 
Last edited:
Top