iOS Tutorials

[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:

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: 374
  • 1597950703185.png
    1597950703185.png
    27.8 KB · Views: 362
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: 498
  • screenshot.png
    screenshot.png
    16.4 KB · Views: 593
  • screenshot.png
    screenshot.png
    25.5 KB · Views: 584
  • b4x_drawer_starter.zip
    316.4 KB · Views: 465
  • ActivityClass.bas
    3.5 KB · Views: 369
  • cross_platform_starter_1.2.zip
    276 KB · Views: 368
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:

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

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: 534
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:

💡 Match the flags. Simple XUI cross platform game tutorial for new B4X B4i developers - Newer developers

Hello B4X'ers,
This tutorial is to show developers new to the B4X suite of development tools just how quick and simple it can be to create a simple game using B4i (original code was created using...
 
Last edited:

💡 Creating long lists using xCustomListView with Lazy Loading - Newer developers

Hello All
This simple B4i tutorial code wise is a carbon copy of the B4A example code, I copied and pasted the layout files but for iOS I had to change the button font and background colors. This...
 

Attachments

  • BasicxCLVLL.zip
    113 KB · Views: 398
Last edited:

💡 Retrieving 2 JSON data feeds from an online server - Shared module with B4A

Hello All
I might be a bit late to the show with this one, but I've been busy completing paid work. Hopefully new members will find this useful.

The B4A example can be found here...
 

Attachments

  • JSON.zip
    12.3 KB · Views: 396
  • iOS-CoronavirusCOVID-19_V1.0.0.1.zip
    360.3 KB · Views: 378
Last edited:

Video corso Preparazione ambiente di sviluppo B4i

Buongiorno,
vorrei condividere il corso gratuito "Preparazione ambiente di sviluppo per B4 IOS" .
Questo corso aiuta a preparare l'ambiente di sviluppo B4I ed il MAc per iniziare a...
 

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:

LLCamera - Low level camera access

iMedia library v1.10 includes a new type of object named LLCamera. LLCamera provides low level camera access, similar to B4A Camera library. If you just want to allow the user to take a...
 

Attachments

  • CCTV-Client-B4i.zip
    4.4 KB · Views: 824
  • LLCameraExample.zip
    3.4 KB · Views: 772
Last edited:

In-App Purchase Receipt Validation

Hello Everyone, after trying so many different things and different php scripts, I finally found one that seems to give me the results I was looking for.

I needed a way to verify the transaction...
 
Last edited by a moderator:

[B4X] B4X Programming Technics + Track Changes Tool

Top