Post

Replies

Boosts

Views

Activity

Reply to App crashes on Activation of Display after Background Audio
The Problem was a Timer in which some Actions with an Animation were executed. I solved the Problem by checking at the beginning of the timer, if the app is Active: .onReceive(NotificationCenter.default.publisher(for: UIApplication.didEnterBackgroundNotification)) { _ in data.isAppActive = false } .onReceive(NotificationCenter.default.publisher(for: UIApplication.didBecomeActiveNotification)) { _ in data.isAppActive = true } Timer.scheduledTimer(withTimeInterval: 0.2, repeats: true) { (_) in guard data.isAppActive else { return } ... }
Topic: Media Technologies SubTopic: Audio Tags:
Sep ’21
Reply to Simulator iOS 14 crashes with dyld: Symbol not found: _vfork
The problem does not appear if I build for release
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to App crashes on Activation of Display after Background Audio
The Problem was a Timer in which some Actions with an Animation were executed. I solved the Problem by checking at the beginning of the timer, if the app is Active: .onReceive(NotificationCenter.default.publisher(for: UIApplication.didEnterBackgroundNotification)) { _ in data.isAppActive = false } .onReceive(NotificationCenter.default.publisher(for: UIApplication.didBecomeActiveNotification)) { _ in data.isAppActive = true } Timer.scheduledTimer(withTimeInterval: 0.2, repeats: true) { (_) in guard data.isAppActive else { return } ... }
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Sep ’21