Post

Replies

Boosts

Views

Activity

Reply to After manually adding a PKStroke, the UndoManager no longer works
I'm seeing similar behaviour whenever I procedurally modify the PKDrawing of a PKCanvasView. Specifially when doing: canvasView.drawing.strokes[i].mask = newMask canvasView.drawing.strokes[i] = newStroke canvasView.drawing.remove(at:i) canvasView.drawing.insert(stroke, at:i) the undoManager (or its stack of undo operations) gets messed up and stops working. I assume this is a bug in iOS 14 beta? Hopefully the PencilKit team will fix this before the release of iOS 14?
Jul ’20
Reply to AVAudioEngine for connectionless ‘tapping’ from within own app
I'd be interested in an answer as well. In my application I have multiple AVPlayers (some with video, some audio only) that are playing simultaneously. I would like to tap into the final mixed output that is going to speakers, so that I can send it to my streaming backend. For various technical reasons I to stay with the high-level AVPlayers. What is the recommended framework/technology for achieving this? AVAudioEngine look promising, but so far I have not found any way to attach a high-level AVPlayer to the lower-level AVAudioEngine. Are these two incompatible, or did I just miss something?
May ’22