iOS Tutorials

Restore factory settings on a locked iPhone device

This is not actually an iOS tutorial but it might be useful to all of the users of B4i. Here it goes so.

It seems since I have not used my iPhone for long time, I have forgotten my unlock device...
 
Last edited:

Notifications with actions

SS-2018-12-20_16.03.33.png


It is possible to add a list of actions to the push notifications. The list becomes visible when the user 3d touches the...
 
Last edited:

iUI8 library

(this library is part of B4i v2.50)
The iUI8 library includes several UI features that are only supported by iOS 8+.
The following line should be added when using this library:
B4X:
#MinVersion...
 

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,570
  • B4XHelpV3_1.zip
    209.3 KB · Views: 1,974
  • B4XHelpV3_4.zip
    223.8 KB · Views: 318
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,168
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,669
  • BleCentral_B4A.zip
    9 KB · Views: 929
  • BlePeripheral_B4i.zip
    2.9 KB · Views: 781
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,611

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: 1,041
  • WidgetHelloWorld.zip
    5.5 KB · Views: 1,025
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...
 
Top