iOS Tutorials

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:

[B4i] Admob Example

To help the members to make money with B4i, I tried to compile all the relevant Admob code (except mediation, Native and Interstitial Rewarderd) of the forum in this example.
Any code and sample...
 

Attachments

  • B4i_AdmobExample.zip
    154.2 KB · Views: 125
Last edited:

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

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
    515 bytes · Views: 120
Last edited:

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: 2,113
  • BleCentral_B4A.zip
    9 KB · Views: 1,407
  • BlePeripheral_B4i.zip
    2.9 KB · Views: 1,251
Last edited:

GoogleMaps Tutorial

The iGoogleMaps library allows you to show a map inside your app:

SS-2014-11-17_09.18.50.png


It is similar to B4A GoogleMaps library.

In order to...
 
Last edited:

Frameworks, #Imports, #AdditionalLib and ~DependsOn

We will start with the steps to create a new native (non-b4xlib) for B4i v10+ with Xcode.
In the past libraries were compiled as fat .a archives. Starting with v10.0 libraries must be compiled as...
 

Attachments

  • iAdMob.zip
    23.4 KB · Views: 147

Local Mac Builder Installation

iOS compilation requires an Apple Mac computer. Developers have two options with B4i:
- Use a local Mac machine connected over the local network.
- Use our hosted builder rental service.

These...
 
Last edited:

Using AppRefresh and Processing background tasks in your app

Hi,

This is a tutorial explaining how to use AppRefresh and Processing background tasks in your app.


- First you need to add the UIBackgroundModes and the tasks identifiers for...
 
Last edited:

Animate textfield/panel with the iOS keyboard

This post presents an implementation of animations that animate alongside the iOS keyboard animation. Following the method in this post will allow your views to animate smoothly when the iOS...
 

Attachments

  • Keyboard Test.zip
    64 KB · Views: 386

In App subscriptions with RevenueCat and AS_PremiumSummary [Videos]

In this tutorial I will show you how to create subscriptions in the Apple Developer console, how to link them with revenuecat, how to integrate the B4X-RevenueCat SDK in the app and how to...
 

Attachments

  • inApp Subscriptions Example.zip
    200.4 KB · Views: 393

Debugging a B4i app with Xcode

This can be useful when you encounter hard crashes. I usually use it when encountering hard crashes with new libraries. Requires a local Mac.
Alternative method: Tip: on device logs

1. Set...
 

Viewing Automatically Submitted Crash Reports in Xcode Organizer

Xcode Organizer allows developers to view automatically submitted crash reports without using a third-party service. This feature, introduced in Xcode 11, helps analyze app crashes and fix issues...
 

Adding ApplePay payment method to your app

Hi,

This is a tutorial explaining how to add apple pay payment method to your app.

- First you need to create a merchant ID for your app and create Apple Pay Payment Processing...
 

Attachments

  • 10.png
    10.png
    1.6 KB · Views: 466
Last edited:

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