resuming an old post, that help you to create an
UIAlert extension to show a modal popup, https://www.albertopasca.it/whiletrue/objective-c-modal-view-in-navigation-and-tabbar-controller-projects/ , I’ve created a new modern implementation that use UIWindow.
The scope is to show a spinner (or a
Lottie spinner, or whatever you prefer), centered in the screen with automatic or manually dismission. Background can be blurred or colored, like this screen: Continue reading “Swift – Simple full screen loader”
Weward is a mobile app that basically pay-you if you walk; offer also a price exchange and lots of offers inside the app.
The first time I opened it, I see at glance that I can hack it… and of course you can do it by yourself, very quick and easily. Let’s see how.
Continue reading “DIY: Hack Weward for iOS”
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”