iOS Tutorials

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:

DropboxSync Tutorial

Dropbox has dropped support for this API. It doesn't work anymore.

The iDropboxSync library allows you to use Dropbox Sync service to manage an app specific folder inside the user Dropbox...
 

Attachments

  • DropboxSync.zip
    52.2 KB · Views: 619
Last edited:

DrawBitmapRotated over ImageView

The latest version of my Face Flashcards app (waiting for review) had one issue that was nagging me. I had used the designer to create an imageview called "flashCards", for which a randomly...
 

DeviceCheck - uniquely identify iOS device

Hi,

in this tutorial (intended for advanced B4i user) I want to demonstrate how you can use the DeviceCheck framework (introduced with iOS 11) in order to uniquely identify an iOS device. I...
 

Attachments

  • DC_ServerExample.zip
    418.2 KB · Views: 571
  • JWT.jar
    442.4 KB · Views: 469
  • DeviceCheckServer.bas
    3.4 KB · Views: 485
  • DC_AppExample.zip
    2 KB · Views: 482
  • DeviceCheck.bas
    1.3 KB · Views: 492

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

Design Guidelines

Custom Fonts

In order to add custom font files to your application you need to follow these instructions:
1. Add the font file to the "special" folder: <project>\Files\Special
2. Add the #AppFont attribute for...
 

Attachments

  • CustomFonts.zip
    54.9 KB · Views: 1,269

Custom Dialogs with iCustomDialog library

Attachments

  • CustomDialogExample.zip
    3.7 KB · Views: 1,399
Last edited:

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:

Creating a cross-platform "dialog" class with input validation

I'm currently developing an App that'll be released for Android and IOS. It presents files to the user, allows them to select a file and then presents the content for editing, and finally allows...
 

Attachments

  • iValiDialogs (0.02).zip
    177 KB · Views: 417
Last edited:

Creating a certificate and provisioning profile

Don't panic!
While this process can be a bit annoying it is not too complicated and you can always delete the keys and start from scratch (which is not always the case in Android).

Note that you...
 
Last edited:

Create shortcut on OSX to run self hosted builder

I am very new to B4i and one of the first things I wanted was a simple Windows style shortcut to launch the mac builder on my MacMini without having to open a terminal window then enter the...
 

Compile As Library

B4i v3.50 adds support for library compilation. This is similar to the feature available in B4A and B4J...
 

change Imageview.Bitmap color

hi,

if you would like to change the color of your Imageview.Bitmap than you could just
do it like this:

B4X:
ImageView1.TintColor = Colors.RGB(Rnd(0,255),Rnd(0,255),Rnd(0,255))

but it seems...
 

Attachments

  • bmpcolor.zip
    65.1 KB · Views: 403
Last edited:

Can I use GCM on IOS

Hi,

Can I use the GCM on the b4i?

for example in B4A i have the code below, can I use the same concept on the b4i to make by the end exchanging the messages Android<=>IOS ?


B4X:
Sub...
 

CalcRelativeKeyboardHeight Example

Attachments

  • KeyboardExample.zip
    5.8 KB · Views: 848
Last edited:

Bouncing smilay - Drawing with Canvas

A Canvas object allows you to draw over a view.

Canvas.Initialize expects a single parameter which is the target view.

You can then use the different drawing methods to draw over the view...
 

Attachments

  • Smiley.zip
    4.7 KB · Views: 1,059

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:

BLE - Heart Rate Monitor

BLE (Bluetooth Low Energy) Peripheral

There are two types of devices involved in BLE communication: peripheral devices and central devices.

Peripheral devices: heart rate monitors, beacons, Arduino with HM 10 module, etc.
Central...
 
Last edited:
Top