How to resize iPhone Mirroring Window?
Enlarge the iPhone Mirroring window by enabling this defaults hidden setting in the Screen Continuity functionality in macOS Sequoia.
SwiftUI SKStoreReviewController requestReview
It's possible to request a review from the user using SKStoreReviewController with SwiftUI. It's necessary to call requestReview(in:) and pass a UIWindowScene. SKStoreReviewController hasn't been updated for SwiftUI, so the API still interacts with UIKit, which is where UIWindowScene comes from.
SwiftUI if and if let view modifiers using ViewBuilder functions
Conditional view modifiers are possible with an extension to View, taking a conditional and a ViewBuilder closure to execute if the conditional is true. This allows for conditionally calling iOS 15-only APIs in SwiftUI.
SwiftUI portrait double column split view
To imitate a SplitViewController with SwiftUI and tile the master next to the detail in portrait, you can introspect the split view controller that SwiftUI creates underneath the SwiftUI declarations and make the necessary adjustments.
SwiftUI equal scaling text size to fit
SwiftUI tutorial for scaling all the words to be the same size. This makes the longest word fit and all the other words are the same font size of that longest word. SwiftUI has the ability to scale text to fit some bounds automatically, which we can use with the bounds being the width of the screen.
Open App shortcut without Shortcuts app
There's a better way to create shortcuts to apps that doesn't require the Shortcuts app to pop up between. You can use a web clip instead! These app icons go straight to the app without delay, making it much quicker to open your apps from your customised icons.
Add custom entitlement to iOS app
Apply any custom entitlements, including private internal Apple entitlements, to an app bundle IPA, and sideload the IPA on to your iPhone or iPad. This can be used to allow any app access outside the app sandbox container, or to access iPhone functionality otherwise restricted like CarPlay.
Swift subclass an Objective-C class with protected init
A workaround to super.init() from your Swift subclass for Objective-C superclasses with an init marked unavailable, such as the CoreBluetooth framework's CBPeripheral.
Automatic AirPods noise cancellation on play/pause
AirPods Pro can automatically enable noise cancellation when music is played and switch to transparency mode when music is paused. You can hook the media controller to change noise cancellation mode on your AirPods automatically.
Submit app to App Store Connect with beta macOS
Fix apps and app updates submitted to the App Store must be built with Xcode 6.4 or later, and iOS 8 SDK when submitting app using El Capitan beta.
iTunes Connect & Podcast Analytics Not Enough Data
In App Store Connect and iTunes Podcast Analytics, sometimes a specific app shows Not Enough Data. This is not a bug, but rather a feature by Apple to protect user privacy.
Fix cellular data app settings not saving on iOS
There's a bug with /var/wireless/Library/Databases/CellularUsage.db and here's how to fix it.