Track GPS position with iOS app killed

I want to share a simple how-to, used to get the GPS position of an iOS user with the app completely closed, in the background, and in the foreground without using any useless workaround like idle timer and background operations…

We discuss about the GEO-fence tecnique. You can read more on Apple reference:

https://developer.apple.com/documentation/corelocation/monitoring_the_user_s_proximity_to_geographic_regions

Continue reading “Track GPS position with iOS app killed”

How to make (and read) an animated newspaper

Today I want to present a small project with a lot of potentialities, an animated newspaper.

Using the ARKit framework from Apple, I’ll show you how to play a video while passing on the newspaper pages with your camera!


The used newspapers

The scope of this project is to overlap a defined image on the newspaper with a video, for a better experience while reading the news.

Continue reading “How to make (and read) an animated newspaper”

Swift – Recognize spoken text using Siri

A draft of SpeechManager.swift, that recognize the spoken text using Siri.

It use the Apple Speech framework (https://developer.apple.com/documentation/speech):

Perform speech recognition on live or prerecorded audio, receive transcriptions, alternative interpretations, and confidence levels of the results.

Continue reading “Swift – Recognize spoken text using Siri”

ARKit – Measure distances with augmented reality

Today a tutorial about augmented reality, in particular the use of the new Apple framework, ARKit, to measure distances between two points in a 3D virtual space.

Final result: ‹26 cm distance between the two green points.
Continue reading “ARKit – Measure distances with augmented reality”

CoreML – Twitter sentiment analysis

Today a post about the new Apple framework – CoreML – a machine learning framework to use your trained data-model inside iOS apps.

https://developer.apple.com/machine-learning/core-ml/

Documentation: https://developer.apple.com/documentation/coreml


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”

Xiaomi Roborock – control via socket API

Why this guide?

My need was to control the robot asking simple commands through Google Home and Alexa like: “Alexa, clean the bathroom“.

With my robot, this was not possible. With the app, you can configure the zones but you can’t simply ask for cleaning only one zone, two times, for instance, all in automatic.

Continue reading “Xiaomi Roborock – control via socket API”