Post

Replies

Boosts

Views

Activity

Reply to Apple Configurator for iOS not detected on mac
On the Mac, have you definitely gone beyond the "Language" selection screen, to the "Select your Country or Region" screen? Apple say: To add a Mac to your organization: Navigate to the "Select your Country or Region" screen in Setup Assistant on the Mac. Bring the iPhone that's running Apple Configurator near the Mac. Use the iPhone to scan the image that appears on the Mac, or enter the six-digit PIN manually.
Dec ’21
Reply to iOS 15: Critical Alert Notification
A "Critical Alert" appears even when the device is in Do Not Disturb mode, or silenced. They cannot be silenced, as they are considered "Critical"! If you want to be able to silence your alert, then it must not be a Critical Alert. See https://developer.apple.com/documentation/usernotifications/unnotificationsettings/2963116-criticalalertsetting
Dec ’21
Reply to Does app store work on ios 6.1.6?
I guess you are talking about an iPod Touch, but which version (perhaps 4th generation)? iOS 6 is now 9 years old. It seems very unlikely that any current apps will run on such an old version of iOS. The fact that you can't even launch the App Store seems to support this view. You should double-check if your device will run a more recent version of iOS. If not, then I think it's game over.
Dec ’21
Reply to Get file path from .onDrop on macOS SwiftUI app
To get the file URL after a drop operation, try this: .onDrop(of: [.fileURL], isTargeted: nil) { providers in if let provider = providers.first(where: { $0.canLoadObject(ofClass: URL.self) } ) { let _ = provider.loadObject(ofClass: URL.self) { object, error in if let url = object { print("url: \(url)") } } return true } return false } (Tested on macOS)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’21
Reply to 2017 project doesn't display project settings
It looks like your Navigator pane may be hidden? Look for an icon at the top-left of the Xcode window (directly to the right of the red-amber-green icons), which will show/hide the Navigator. Alternatively, if you are asking about the particular view of the file you are looking at, right-click on the file, and look at the options under "Open As".
Dec ’21
Reply to Heads-up: Xcode 13.2 takes a super-long time to install.
Also note (aargh!) that the App Store Xcode 13.2 (13C90) appears to be broken, if you use Swift Packages. As discussed here: https://developer.apple.com/forums/thread/696504 The current workaround is to download Xcode 13.2 directly from the Releases (Applications) section of the Apple Developer website: https://developer.apple.com/download/release/ This issue has now been included in the updated Xcode 13.2 Release Notes: https://developer.apple.com/documentation/xcode-release-notes/xcode-13_2-release-notes
Dec ’21
Reply to Xcode 13.2 Instantiating CLLocationButton crashes in Simulator
After removing references to the code that you don't supply... ...and tweaking what remains, this works for me: private func setupUserLocationButton() { let button = CLLocationButton() button.icon = .arrowOutline button.label = .none button.cornerRadius = 25.0 button.addTarget(self, action: #selector(userLocationButtonTapped), for: .touchUpInside) view.addSubview(button) // setting up constraints for CLLocationButton to be on the top right corner button.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ button.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor, constant: 16.0), button.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor, constant: -16.0) ]) } Maybe take it from there, and re-add your customizations, one-by-one? Xcode 13.2 (13C90) (From the Developer website, not the broken App Store version 13.2)
Dec ’21