iOS Tutorials

FloatLabeledEditText (iUI8)

SS-2016-02-29_10.40.03.png


iUI8 v1.20 includes a new view named FloatLabeledEditText. It is a modified TextField that instead of hiding the...
 

iAdMob and User Consent

Attachments

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

Compile As Library

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

Fast arrays access

B4i v5.0 adds several methods to the Bit object that provide very fast access to arrays.

In most cases there is no reason to use these methods as they are more cumbersome and less safe than the...
 

MJPEG / CCTV Server

Attachments

  • CCTV.zip
    3.9 KB · Views: 803
Last edited:

Adding your settings to the default Settings app

By following the steps in this tutorial you can allow users to configure the various app settings in the default Settings app...
 

Attachments

  • SettingsCreator.jar
    246.5 KB · Views: 689
  • SettingsExample.zip
    2 KB · Views: 728
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: 730
Last edited:

Monitor the device attitude (orientation) and acceleration with Motion object

iPhone library v1.30 includes a new type named Motion. With this object you can monitor the device orientation and acceleration (similar to B4A PhoneSensors).

The Motion object doesn't raise...
 

Attachments

  • MotionExample.zip
    4.1 KB · Views: 743

TableView with custom items

iTableView v1.20 adds support for custom items.

Each TableCell includes a CustomView property. You can set a Panel with views to this property and the panel will be added to the cell...
 

Attachments

  • TableViewWithCustomItems.zip
    4.2 KB · Views: 1,469

Add QuickActions to your App

Hi,

in this thread I want to show you, how to add QuickActions/Shortcuts to your App. QuickActions require 3D touch support and iOS 9 (minimum).

1.) Download the QuickActions tool, to...
 

Attachments

  • Tool.zip
    321.2 KB · Views: 527
  • QuickActions.bas
    2.2 KB · Views: 585
  • Example.zip
    2 KB · Views: 512
Last edited:

AdMob Ads Mediation (with InMobi)

ShowPage Animated

Based on @narek adonts answer here:

this is a ShowPage animation Code Module

B4X:
'Code module
Sub Process_Globals

End Sub

'Transition: 0 = cameraIris, 1 = cameraIrisHollowOpen, 2 =...
 

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

Super small tutorial: Messing with #PlistExtra might get unrelated error

I was trying out what was possible to enter in #PlistExtra and tried adding a   to see if that worked:
B4X:
#PlistExtra:<key>NSLocationAlwaysUsageDescription</key><string>This is...
 

Quick Inline Objective-C Question

Just a quick question about inline Objective-C: Can I declare a variable outside of a method? This seems like a really basic question but I haven't use inline objective-c before and wanted to be...
 
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: 415
Last edited:

Share data from your app with ActivityViewController

upload_2016-11-17_9-57-25.png


ActivityViewController allows the user to share data from your app using the standard share dialog.
It was added in iPhone library v2.00.

Using it is simple. You need to...
 
Last edited:

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

Set Gradient Color to a View

Attachments

  • gradient.zip
    2.5 KB · Views: 609
Last edited:

Simple Parallax Scrolling iSpriteKit

here is an example of how to make a simple Parallax Scrolling using iSpriteKit

B4X:
Sub createBackground(myScence As SKScene)
    'first create Sky
    Dim sky As SKSpriteNode...
 
Last edited:
Top