Post

Replies

Boosts

Views

Activity

Reply to MPNowPlayingInfoCenter MPRemoteCommandCenter macOS, control center and media keys not working for Catalyst app
I've somewhat figured this out. I can get skip to work but I still haven't managed to get play/pause from the keyboard to work. The thing that I was missing is on macOS you need to update the playing state on MPNowPlayingInfoCenter. It can't just infer it from the AVAudioSession like it does on other platforms. .i.e. MPNowPlayingInfoCenter.default().playbackState = .playing Since I started doing that my app shows up in 'Now Playing' and all the controls work fine there. I just can't figure out why play/pause on the keyboard still doesn't work.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’22
Reply to MainActor and NSInternalInconsistencyException: 'Call must be made on main thread'
Deleted
Replies
Boosts
Views
Activity
Sep ’24
Reply to iOS 18 Beta 2 XCTest: Unable to record and play contacts permission system dialog
I was also stuck on this for ages. The new contacts prompt has a brand new separate process so you need to access its elements through XCUIApplication(bundleIdentifier: "com.apple.ContactsUI.LimitedAccessPromptView")
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Subscription "Waiting for review" status stuck after been approved
I have the same issue.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Xcode 14.1 is unable to provision an asset download extension
Still seems like it's a problem in Xcode 14.2
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Will the AppIcon automatically rounded in macOS 11?
Asset Catalog Creator is able to apply the macOS 11 style to a square image for you automatically. You can just give it your existing iOS icon. https://apps.apple.com/us/app/asset-catalog-creator/id866571115?mt=12
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to MPNowPlayingInfoCenter MPRemoteCommandCenter macOS, control center and media keys not working for Catalyst app
I've somewhat figured this out. I can get skip to work but I still haven't managed to get play/pause from the keyboard to work. The thing that I was missing is on macOS you need to update the playing state on MPNowPlayingInfoCenter. It can't just infer it from the AVAudioSession like it does on other platforms. .i.e. MPNowPlayingInfoCenter.default().playbackState = .playing Since I started doing that my app shows up in 'Now Playing' and all the controls work fine there. I just can't figure out why play/pause on the keyboard still doesn't work.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Receiving PlayPause button during audio playback
When your audio session is active it steals the playPause press. If when you're done you set your session as inactive you get the playPause back         try AVAudioSession.sharedInstance().setActive(false, options: [])
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Is the "Complete My Bundle" option going away? Or just completely broken?
It is mentioned at the bottom of this page. It doesn't give much detail on how it works from a user's perspective though. https://developer.apple.com/app-store/app-bundles/
Replies
Boosts
Views
Activity
Jun ’21