iOS Tutorials

Some findings about graphics and pixels

I begun 'learning' graphics in B4i, and found some differences between B4a and B4i based on an iPhone 6:

- There are no 'dip' values in B4i (perhaps not yet ?)

- On my iPhone 6...
 

Attachments

  • Drawing.zip
    2.7 KB · Views: 521
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:

Silent Push Notifications

This tutorial explains how you can use push notifications that don't show any visual cue to the user and start your app in the background for a limited time (up to 30 seconds).
You can use it for...
 
Last edited:

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

Show an image in remote/push notification

Mac, Local Build Server, and Xcode are needed.

Now you can show an image in push notification just like android.

Usually in ios, the system handles the push notification. But there...
 

Attachments

  • NotificationService.txt
    3.2 KB · Views: 374
  • 1597950703185.png
    1597950703185.png
    27.8 KB · Views: 362
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:

Set Gradient Color to a View

Attachments

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

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: 310
  • SampleProject.zip
    2.1 KB · Views: 323
Last edited:

Send Push Notification with OneSignal

Hi there,


In this tutorial I use onesignal rest api and send device token to onesignal and store it

1. Register in onesignal.com and create an application

2. Export .p12 file from certificate...
 

Attachments

  • onesignal.bas
    991 bytes · Views: 686

script mode

I try to do the tutorial at page 142 in B4i beginner's guide but i have the following error...

scrit-mode (read only)
click on the properties grid to exit this mode....

Where it is ????
Capture.JPG
 

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,240
Last edited:

Retrieve Apple Device UDID Code from Windows Registry

When you connect an Apple device to a Windows PC with the USB port, Windows creates a Registry Key with the device's UDID and can then be retrieved.
But to avoid reading the entire log, I created...
 

Reading the app logs directly on the device

Attachments

  • Project.zip
    8.8 KB · Views: 459

Reading and Writing PDF Documents

SS-2014-12-17_14.51.55.png


iOS has built-in support for reading and writing PDF documents.

The Canvas object allows us to display existing PDF...
 

Attachments

  • PDFReader.zip
    2.5 KB · Views: 1,734

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:

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

Push notifications

Last edited:

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

Publishing your app to the App Store

This tutorial explains the steps required to create a store ready ipa file.

1. The first step is to uninstall your app from the device and install it again in Release mode (Tools - Build Server -...
 
Last edited:

Programmatic changing of button images

For my latest app, Less Note 1.0.0 (currently WFR), I wanted to show when a particular colored pen or the eraser was active and the others inactive. So, I used Photoshop to create glowing...
 
Top