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.
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”
In my personal case I use three different git services for store / share my personal / work code:
- Github // my blog code, free open sources code
- Gitlab // my work code, on-premise installation
- Bitbucket // my personal code, free private repo
Every service uses different SSH keys to use. Must be configured separately.Continue reading “Use multiple GIT accounts on same machine / macOS”
With the NetworkExtension framework, you can customize and extend the core networking features of iOS and macOS. Specifically, you can:
- Change the system’s Wi-Fi configuration
- Integrate your app with the hotspot network subsystem (Hotspot Helper)
- Create and manage VPN configurations, using the built-in VPN protocols (Personal VPN) or a custom VPN protocol
- Implement an on-device content filter
- Implement an on-device DNS proxy
The NetworkExtension framework is available in macOS and iOS, but not all features are available on both platforms and some features have specific restrictions (for example, some features only work on supervised iOS devices). The documentation for each feature describes these restrictions.
A useful trick using .map:Continue reading “SWIFT – Create filled array using map”
You need to build a System preference panel extension for your app but you’re unable to debug it from XCode due to Apple System Integrity lock?
Let’s see how!
But how to debug this extension?
Latest macOS block the execution or the debug of all system application. Now all apps are signed and if you try to attach a debugger you’ll receive this error:
Continue reading “XCode – Debug macOS PreferencesPane applications”
Message from debugger: cannot attach to process due to System Integrity Protection
Apple offer the batteryState in the UIDevice class:
In iOS12 Apple introduced a new way to check if your device is in “flat” mode, or better is on your desk.
Let’s take a look at the reference:
I’ve lost completely all my blog posts. About 15 years of work, tutorials and articles.
I’m recovering everything, post by post. I’ll be back soon!
START TRANSACTION; DROP DATABASE whiletrue; COMMIT;