The macOS status bar is a powerful and convenient place to display essential information or provide quick access to your app’s functionality. By default, the status bar displays a standard system icon, but sometimes you may want to create a more customized experience by using your own views. In this blog post, we’ll walk you through how to use a custom view on the status bar in macOS using Swift and SwiftUI.
Before we get started, make sure you have the following:
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: Read More
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.
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:
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.”
I want to introduce you to the new “
App Icon Maker“, a simple and free utility for macOS that helps you to convert the images in the 3 Apple formats, @1x, @2x, and @3x. Read More
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:
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: Read More
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:
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!
PreferencePane macOS app extension 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:
Message from debugger: cannot attach to process due to System Integrity Protection