iOS Tutorials

Facebook Mediation With Admob

Hello,

With the great help from Erel, I want to post a very short and easy tutorial for showing facebook audience network ads on our iOS apps. This will be a short one as I described every step...
 

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: 837
  • LLCameraExample.zip
    3.4 KB · Views: 787
Last edited:

Designer Script & AutoScale tutorial

Designer script feature allows you to write simple scripts that manage the user interface in the visual designer.

The main advantage of the scripts over the program code is that you can see the...
 

Open external files with your app

Last edited:

FloatLabeledEditText (iUI8)

SS-2016-02-29_10.40.03.png


iUI8 v1.20 includes a new view named FloatLabeledEditText. It is a modified TextField that instead of hiding the...
 

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: 550
Last edited:

Set Gradient Color to a View

Attachments

  • gradient.zip
    2.5 KB · Views: 611
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
...
 

CSBuilder - AttributedStrings builder

AttributedStrings are strings with additional styling information.
CSBuilder is a new type added in B4i v4.00 which helps with creating such strings. It is an alternative to iRichString class...
 
Last edited:

Application life cycle

The life cycle of iOS applications is quite simple.

The two most important events are Application_Start and Application_Background.

The standard way to start an application is by clicking on its...
 

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...
 

Geofence - Monitoring a region

This example extends iLocation library to allow monitoring regions in the background.

The code is pretty simple. You first need to create a circular region which you want to track and then call...
 

Attachments

  • Geofence.zip
    169.6 KB · Views: 848
Last edited:

Visual Designer

AdMob Ads Mediation (with InMobi)

Send Push Notification with OneSignal

Hi there,


In this tutorial I use onesignal rest api and send device token to onesignal and store it

1. Register in onesignal.com and create an application

2. Export .p12 file from certificate...
 

Attachments

  • onesignal.bas
    991 bytes · Views: 695

Icons and Launch Images

This tutorial is relevant for B4i v4.40+.

App icons

iOS apps require a wide range of icon sizes. Starting from 20x20 and up to 1024x1024.

B4i will create all icons automatically based on...
 

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...
 

Push notifications with new Tool

Now you can send directly from this tool, a Push Notification to your APP, develop with B4i, XCODE or any another development tool.

Just put the APP TOKEN , the message, Badge, Sound

The...
 

Attachments

  • PushiOS.zip
    318.2 KB · Views: 653

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,539
  • BleCentral_B4A.zip
    9 KB · Views: 790
  • BlePeripheral_B4i.zip
    2.9 KB · Views: 654
Last edited:

Firebase Integration

B4i v2.80 adds support for Firebase backend: https://firebase.google.com

The libraries are mostly the same as the B4A Firebase libraries.

Configuration

1. Create an iOS application...
 
Last edited:
Top