iOS Tutorials

? [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: 452
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,212
  • B4Ih2xml.jar
    98.2 KB · Views: 853
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: 492
  • 1597950703185.png
    1597950703185.png
    27.8 KB · Views: 445
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: 618
  • screenshot.png
    screenshot.png
    16.4 KB · Views: 689
  • screenshot.png
    screenshot.png
    25.5 KB · Views: 672
  • b4x_drawer_starter.zip
    316.4 KB · Views: 570
  • ActivityClass.bas
    3.5 KB · Views: 481
  • cross_platform_starter_1.2.zip
    276 KB · Views: 492
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,677

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: 661
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: 486
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: 481
  • iOS-CoronavirusCOVID-19_V1.0.0.1.zip
    360.3 KB · Views: 477
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: 1,073
Last edited:
Top