Let options = AVAudioSession.InterruptionOptions(rawValue: optionsValue)ĭ(deadline. LoginLabel.isUserInteractionEnabled = func goToLogin() Is this normal and is there a work around Thanks. LoginLabel.addGestureRecognizer(tapRegister) When I record my iPad air, I can not hear the audio from the iPad while recording. Let tapRegister: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(self.goToLogin)) (self, selector: #selector(handleInterruption(notification:)), name: AVAudioSession.interruptionNotification, object: audioRecorder) TechSmith Capture uses the screen recording capability in iOS 11 so you can record your thoughts anywhere. Review documents and images, and offer feedback straight from your mobile device. Add voice commentary over your screen recording. The code that I implemented for the class where I'm recording (and also playing the sound I use recorder so I can try it and see if it works) is this: class RecordViewController: UIViewController, AVAudioPlayerDelegate, AVAudioRecorderDelegate weak var principalLabel: weak var loginLabel: weak var recordBTN: weak var playBTN: UIButton! Record yourself walking someone through a process. I think also need to handle when the input/output device changes so my app doesn't crash. You may record without audio also and can share screenshots at a time. If I'm in a Phone Call and I start the recording, my app crashes and outputs the following: ![]() But when I play a song in Apple Music or a play a voice note, it doesn't resume the recording again. My recording resumes fine when, for example, I play an audio in WhatsApp or a video in Instagram. I'm facing two problems using AVAudioRecorder to record in my app: To put it in context, I'm developing an app that is recording a lot of time while in background or in the app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |