iOS Tutorials

Use Face ID Touch ID and Passcode

This is a short tutorial/code snippet on how to successfully implement Touch ID in your app.
Thanks to @Semen Matusovskiy for his code.

You need this OBJC Code
B4X:
#IF OBJC
#import...
 

? [B4X] [XUI] [B4XPages] B4i recreating Google Trends results with xCharts - Newer developers

Hello to you all,
Here is an extremely simple example on how to easily recreate Google Trends results using B4XPages with B4i and the xChart library. In this example I used Google...
 
Last edited:

How to add launch images in B4i

HI everybody, it will be interesting to know how to add launch images on a IOS app?

Here is Apple guidance...
 

✅ [B4X] [XUI] [B4XPages] B4i 'Erel Says' hand, eye memory game - Newer developers

Hello to you all,
I decided to recreate this simple but effective game example, the game is based on the B4XPages library. The game is designed for hand, eye and memory coordination, so I called...
 
Last edited:

✅ [B4X] [XUI] [B4XPages] B4i PreoptimizedCLV lazy loading from SQLite and CSV - Newer developers

Hello to you all,
Welcome to Sheldon Coopers and Amy Farrah Fowlers fun with flags ;)

Here is a simple example on using B4XPages with both an SQLite database and also a CSV file with multiple...
 
Last edited:

? [B4X] [XUI] [B4XPages] Simple B4i stock ticker code using JSON REST API - Newer developers

Hello to you all,
Here is a simple example on retrieving data from a REST API requested using the JSON Generator (you could also use http URL download), the same JSON library is also used to parse...
 
Last edited:

? [B4X] [XUI] [B4XPages] Using B4i Location to create a BASIC weather app - Newer developers

Hello All
Here we have an simple example on how you use your iOS device Location in conjunction with OpenWeather API, this is just a simple example and can obviously be changed and updated by...
 
Last edited:

(solve)tutorial to create provisional and production certificates for ios push notifications

hi, B4X is definitely the best platform to generate applications, but every time I go to work with push notification I panic because I can't get the way to create development and production...
 

Example CubeExample ( GPUImage )

hi
this full Example CubeExample ( GPUImage gruop)
THIS example showing the video is a 3D square
I collected the codes and put them inside the code main b4i
the wrapper class inside main ...
 

Attachments

  • b4i-CubeExample.zip
    63.7 KB · Views: 539
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,309
  • B4Ih2xml.jar
    98.2 KB · Views: 921
Last edited:

Example Image Face Detection

HI all
this Example Image Face Detection
Contains a lot of codes:
Find the color of the face
Find the face, eyes, and nose
Find the angle of the face
Find a smile
Eye open or closed
Correctly...
 
Last edited:

New way to upload ipa to App Store

I just found out that Application Loader is no longer exist or missing from the latest XCode 11.5 or 11.6 so to upload our B4i app, we need to download Transporter from the App Store.
1598364121883.png
...
 

Show an image in remote/push notification

Mac, Local Build Server, and Xcode are needed.

Now you can show an image in push notification just like android.

Usually in ios, the system handles the push notification. But there...
 

Attachments

  • NotificationService.txt
    3.2 KB · Views: 577
  • 1597950703185.png
    1597950703185.png
    27.8 KB · Views: 513
Last edited:

ActivityViewController in B4XPages?

Hi, how can I pass the parameter Page1 (for example), if I'm using B4XPages.?

I tried.. Dim mp As Page = B4XPages.GetPage("B4XMapPage")

But I get an error....

B4X:
   Dim avc As...
 
Last edited:

ActivityClass: A cross-platform development class and strategy for b4i/b4a

This is not an official tutorial and is just one option for developing cross platform apps with b4x. I have found it to work very well in creating cross platform apps that share their code base...
 

Attachments

  • TableExample_Cross_Platform.zip
    285.3 KB · Views: 691
  • screenshot.png
    screenshot.png
    16.4 KB · Views: 767
  • screenshot.png
    screenshot.png
    25.5 KB · Views: 757
  • b4x_drawer_starter.zip
    316.4 KB · Views: 647
  • ActivityClass.bas
    3.5 KB · Views: 565
  • cross_platform_starter_1.2.zip
    276 KB · Views: 578
Last edited:

Multiple Pages Example

This example demonstrates how you can use a different code module for each page.

B4i structure (like B4J) is very flexible. Pages are regular objects like all other objects. You can use a single...
 

Attachments

  • ThreePages.zip
    7 KB · Views: 2,791

Background playback

This tutorial explains how you can play local audio files or stream audio while your app is in the background.
Standard applications are killed when moved to the background. However you can add...
 

Attachments

  • BackgroundPlayback.zip
    3.7 KB · Views: 757
Last edited:

Symbolicating a crash report

I will cover the steps required to symbolicate a crash report received from Apple.
The result is a readable stack trace.

It requires a local Mac.

The crash report is a text file that looks like...
 
Last edited:

UITableView LongClick Trigger

UITableView is a very powerful Listview. It loads items very fast and scrolling is very smooth. thanx to b4i it is also very customizable.

B4i support 5 Events for the UITableView:

B4X:
Sub...
 

List of methods to access external resources or share to external apps

There are all kinds of ways to share files with other apps or access external resources. Here is a short summary of the available methods:

- ActivityViewController (iPhone library)...
 
Last edited:
Top