This is my work in progress ~50cm
Robotic Arm with 6 AXIS Servo motors, an Arduino and a RaspberryPi ( for image recognition in phase 2):
While writing the C++ code in Arduino I found I needed a way to send easily and fast commands to Arduino with my iPhone using Bluetooth.
Basically I need to control my robotic arm using an external device instead of running and running again the code on the Arduino board.
For this reason: I’ve attached a BLE board to Arduino and I have created a simple app (completely written in
SwiftUI 😍😎) that use BLE connection to connect to Arduino BLE board and send string commands that are parsed and executed.
Commands sended are like:
Continue reading “Debug (and control) your Robotic Arm with iOS”
Very often a lots of iOS applications use your gps position to retrieve data or to lock / unlock contents positions based.
With Android you can use lots of apps called
Fake GPS or similar that allow you to change your real gps position with a mocked one.
On Android development side this can be blocked checking via code the:
Continue reading “iOS – Fake GPS position: how to use and prevent”
Today I want to share a simple way to retrieve user data from a native
iOS cache image, automatically generated when your app goes in background.
You can retrieve this kind of informations if your phone was lost or
Jailbreaked or connecting it to your pc and open an old backup. You can use tools like iBackup Viewer and more…
Let’s see how it works!
Continue reading “iOS – Data Leakage: App background cache”
Every time you upload a
screenshot on the App Store for a new app submission, you receive from Apple this error message:
“Images can’t contain alpha channels or transparencies.”
Continue reading “Remove alpha channel from png images”
A simple tutorial for find and identify the wrong typed words of the user in your application using the
UITextChecker framework and the NatualLanguage framework. Final result:
Continue reading “Swift – Identify misspelled words and errors in phrases”
Very often you create a
new class or a new view controller and customize it before start coding.
Every time you select from
XCode, New File, the file type and add it to your project, like this: Continue reading “Create your own XCode template”
I have bought a new weight scale that works with or without a smartphone.
There is a proprietary app, called
Laica Body Touch.
Problem with this app are:
Continue reading “Hacking “Laica Body Touch” weight scale with iOS”
Today a post about the new Apple framework –
CoreML – a machine learning framework to use your trained data-model inside iOS apps.
The example of today is about machine learning to identify the mood of a collection of tweets (
#apple, @apple, #covid-19, #love, etc…). Continue reading “CoreML – Twitter sentiment analysis”
Today I want to show you how to use the Apple
ReplayKit, to record a full-screen video without a status-bar from your app and save it in your library without using external libraries like GPUImages or something like that. Let’s start!
Continue reading “Swift – Use ReplayKit to record a movie from your app”
Very often you should insert a
pin-code in a UITextField that some service in order to verify your identity sends you via SMS (generally for a 2FA, two-factor authentication). Continue reading “Swift – Read automatically pin-code from SMS / OneTimeCode”