Ruslan Kavetsky

Results 23 comments of Ruslan Kavetsky

Any updates? How to clear user id in swift after logout?

Use `MPNowPlayingInfoCenter` with your own code

@jadsonlourenco use something like ``` let commandCenter = MPRemoteCommandCenter.shared() commandCenter.changePlaybackPositionCommand.isEnabled = true commandCenter.changePlaybackPositionCommand.addTarget { event -> MPRemoteCommandHandlerStatus in let event = event as! MPChangePlaybackPositionCommandEvent self.seekTo(event.positionTime) return .success } ```

You are already using `MPNowPlayingInfoCenter` so maybe this could be an optional feature enabled by default. With implementation for common cases like play/pause, next/prev track and seek.

Me too On simulator with iOS 13 On iOS 14 all fine I have a Mac with M1 chip if that help

Hey, 1. I didn't play with the project you mentioned, but I looked at their code and the reason why there is no issue there is because it happens if...

@mikhailmaslo I tested your proposed solution and seems it works fine. I think it is up to you to decide do you want to include this fix on the level...

Of course > View controller type check - we need this fix only for UIHostingController This one sounds good!