iOS Tutorials

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:

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:

Layouts, Pages and ViewControllers

The user interface is made of three logical layers: layouts, pages and views controllers.

A layout is a set of views. You can create a layout with the visual designer or by code.
You can load...
 

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

iStore - In App Purchases

The iStore library allows you to use the store In-App Purchases features inside your app.
You can let the user purchase digital products from inside your app.

(Unsurprisingly) the configuration...
 
Last edited:

iPhone X Safe Area

SS-2018-01-09_10.41.31.png


As you can see in the above image, the screen area near the top and bottom are considered unsafe. Meaning that you...
 

Attachments

  • iPhoneX.zip
    4 KB · Views: 720
Last edited:

iOS, Android and more - Photoshop icon Templates

You don't need any skill with Photoshop, just download template for your app and follow how to use video.
This site is not mine, but I found templates as very useful, especially for iOS...
 
Last edited:

iOS error code

Hi

There is an official tutorial by Erel how to get info about ios error code from your analytics log. Its a little bit complex so i found a different easy way.

https://www.osstatus.com...
 

iOS 9 important changes

iOS 9 includes several features which can break existing apps. Note that these changes will only affect your app after it was compiled with Xcode 7. For now this is only relevant if you are using...
 

Installing B4i-Bridge and debugging first app

B4i-Bridge is an application that you install on the device.
It has three purposes:
1. Launch the installation process when needed. This step is done with Apple Configurator 2 if using a local...
 
Last edited:

Installing apps with Apple Configurator 2

Starting from B4i v7.20 it is possible to install apps, when the iOS device is physically connected to a local Mac, using Apple Configurator 2.
It is supported by all iOS versions and is a must...
 
Last edited:

Install Release ipa to your device with Appandora

Hi

For those of us who have a windows pc and however want to do ad-hoc distribution of our apps for testing, I have just found this shortcut to have a release ipa installed. I have just installed...
 

Inline Objective C code

B4i v1.80 adds support for inline Objective C code. This means that you can add Objective C code to your modules and they will be compiled together with all other code.
You can then use...
 

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:

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

Identifying LocalNotification using 'Tag'

You may have come across a scenario where your app can register more than one local notification at a time. One such example can be an alarm app, where each alarm will have its own tag.

The out...
 

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

iBeacons

iBeacons are small, low powered peripherals, that use BLE (Bluetooth Low Energy) to advertise their information.

The BeaconParser class can be used together with the BLE library to search...
 

Attachments

  • iBeacon.zip
    3.1 KB · Views: 573

iAdMob and User Consent

Attachments

  • PersonalizedAdConsent.bundle.zip
    6.2 KB · Views: 519
Last edited:

How to submit your app to Apple iTunes

This is for local compile i.e. using your own Mac.

So you`ve written your first iOS app, tested it on your device and now want to upload it and make your first $million. Read on...

You`ll need...
 
Last edited:
Top