iOS Tutorials

Dummies Guide to Getting Started with B4i

Hi Everyone,

Since I joined this forum and started with B4i many people have given their time generously to help me.
So in the spirit of giving back to the community, I have created a 'Dummies'...
 
Last edited:

💡 Tic-Tac-Toe. Simple XUI cross platform WiFi game example B4i vs B4A vs B4J - Newer developers

Hello fellow B4X developers.
Here is my example of using a broadcast address to automatically find another devices IP address on a network, then to use that IP address to play a game (in this case...
 
Last edited:

ITMS-91053: Missing API declaration

There are certain APIs in iOS that can potentially be used to "fingerprint" the device -> find unique characteristics of the device that can possibly be used as identifiers.
Starting from May 1...
 

B4X Help Viewer

Attached you find a B4x Help Viewer.
The original program was written by Andrew Graham (agraham) for B4A with Basic4PPC desktop.
Andrew is no more active in the forum and some time ago I...
 

Attachments

  • B4xHelpV3_0.zip
    211.1 KB · Views: 2,478
  • B4XHelpV3_1.zip
    209.3 KB · Views: 1,893
  • B4XHelpV3_4.zip
    223.8 KB · Views: 180
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: 1,077
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,596
  • BleCentral_B4A.zip
    9 KB · Views: 842
  • BlePeripheral_B4i.zip
    2.9 KB · Views: 705
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,546

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: 973
  • WidgetHelloWorld.zip
    5.5 KB · Views: 959
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:
Top