Post

Replies

Boosts

Views

Activity

How to get animation interpolation during animation?
I want to get animation interpolation during animation running. just like code below: Animator(begin:100,end:200).addListener({value in //here will be called when animation updates. print(value) }) But I can't find any API like the code above in iOS SDK.And I don't want to use any UIView or CALayer to get presentationLayer to get this value. So How can I do that?🤔🤔🤔
2
0
1.4k
Oct ’21
How to put the midi and recorded audio file into a single player?
The GarageBand app can import both midi and recorded audio file into a single player to play. Just like this: My App have the same feature but I don't know how to implement it. I have tried the AVAudioSequencer,but it only can load and play MIDI file. I have tried the AVPlayer and AVPlayerItem,but it seems that it can't load the MIDI file. So How to combine MIDI file and audio file into a single AVPlayerItem or anything else to play?
0
0
1.2k
Feb ’22
How to know a device is available to use captureTextFromCamera API?
The new captureTextFromCamera API allow device to use OCR in UIResponder,but how can I know this device support OCR or not ? eg: iPhoneX:NO, iPhone13:YES
Replies
6
Boosts
0
Views
1.3k
Activity
Oct ’21
How to get animation interpolation during animation?
I want to get animation interpolation during animation running. just like code below: Animator(begin:100,end:200).addListener({value in //here will be called when animation updates. print(value) }) But I can't find any API like the code above in iOS SDK.And I don't want to use any UIView or CALayer to get presentationLayer to get this value. So How can I do that?🤔🤔🤔
Replies
2
Boosts
0
Views
1.4k
Activity
Oct ’21
How to put the midi and recorded audio file into a single player?
The GarageBand app can import both midi and recorded audio file into a single player to play. Just like this: My App have the same feature but I don't know how to implement it. I have tried the AVAudioSequencer,but it only can load and play MIDI file. I have tried the AVPlayer and AVPlayerItem,but it seems that it can't load the MIDI file. So How to combine MIDI file and audio file into a single AVPlayerItem or anything else to play?
Replies
0
Boosts
0
Views
1.2k
Activity
Feb ’22
iOS 16.6 CAMetalLayer nextDrawable takes much time
As title desc. Before iOS 16.6 is smooth. But iOS 16.6 is lagging. Seems iOS 17 beta4 is ok.. Maybe Apple should post a hotfix for iOS 16.6
Replies
1
Boosts
1
Views
977
Activity
Aug ’23