iOS Tutorials

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

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: 312
  • SampleProject.zip
    2.1 KB · Views: 331
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,257

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

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,254
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:

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

BLE - Heart Rate Monitor

CalcRelativeKeyboardHeight Example

Attachments

  • KeyboardExample.zip
    5.8 KB · Views: 845
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,419
Last edited:

[Example] FlappyBirdClone

Name: FlappyBirdClone

Version: 1.0

Screenshot:

img_1149-png.41404


This game...
 

Attachments

  • FlappyBirdClone.zip
    7.8 KB · Views: 729
  • IMG_1149.PNG
    IMG_1149.PNG
    32.3 KB · Views: 1,816
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: 952
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...
 

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

Publishing Your Apps in CYDIA STORE - DEB Package

You can create you own DEB PACKAGE to send to CYDIA STORE with this FREE TOOL.

ScreenDebMaker.jpg


Watch this video tutorial:

...
 

Attachments

  • DebMaker.zip
    253.1 KB · Views: 527
Top