iOS Tutorials

Push notifications

Last edited:

Error compiling b4i bridge

I get the following error when I try to compile the bridge app

"
B4i version: 2.51
Parsing code. (0.00s)
Compiling code. (0.02s)
Building designer app. (0.01s)
Building Xcode project (0.04s)...
 

TableView - Action (swipe) Buttons

TableView2 library extends TableView and adds support for action buttons.
The reason for the new library is that TableView2 requires iOS 8+.
You can download it here...
 

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

[B4X] Localizator - Localize your B4X applications

i think this one is missing from B4i forum.

This is Erel's class. Just copying it in B4i forum...
 

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: 771

Send Push Notification with parse.com

Hi there,

I found and Created an easy way to send push notification without b4x push server

I used parse.com for my apps written with swift and I don't like b4x because It needs a power on...
 

Attachments

  • ParsePush.zip
    786 bytes · Views: 418
  • SampleProject.zip
    2.1 KB · Views: 418
Last edited:

Mails and SMS messages

MailComposer and MessageComposer types from the iPhone library allow the user to send mails and SMS messages from your app. The users will see a pre-filled form which they can modify and send...
 

Attachments

  • Composers.zip
    1.5 KB · Views: 1,387

Animations

It is very simple to add nice animation effects to your layout. Animations are important. It makes it easier for the user to track the layout changes.

By default, when a layout is loaded (or...
 

Attachments

  • Animations.zip
    3 KB · Views: 1,089

Scheduling local notifications

There are two ways for your app to notify the user while the app is in the background: push notifications and local (or scheduled) notifications.

This tutorial explains how to create local...
 

Attachments

  • LocalNotifications.zip
    2.6 KB · Views: 1,378
Last edited:

B4A, B4i, B4J and B4r API documentation - B4X Object Browser

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

Loading B4i on Mac with Parallels and Windows 7

Thought I'd share this sequence of tasks on how to set up B4i from scratch - hope it helps anybody just starting.

1. Windows

1.1 Create a Keys Folder e.g. C:\Users\User1\Documents\B4i\Keys

1.2...
 

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:

BLE - Heart Rate Monitor

CalcRelativeKeyboardHeight Example

Attachments

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

[Example] Breakout

Name: Breakout

Version: 1.0

Screenshot:

img_1148-png.41405

This game is based...
 

Attachments

  • IMG_1148.PNG
    IMG_1148.PNG
    159.4 KB · Views: 2,640
Last edited:

[Example] FlappyBirdClone

Name: FlappyBirdClone

Version: 1.0

Screenshot:

img_1149-png.41404


This game...
 

Attachments

  • FlappyBirdClone.zip
    7.8 KB · Views: 824
  • IMG_1149.PNG
    IMG_1149.PNG
    32.3 KB · Views: 2,055
Last edited:

Files and Folders

In iOS each application can only access its own private folders. There is no shared location such as File.DirRootExternal in Android.

iOS file system is case sensitive.

There are several...
 

Attachments

  • iTunesFileSharing.zip
    4.3 KB · Views: 1,069
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...
 
Top