Closed AmolRai closed 4 years ago
Thank you for your contribution! There is already a video where the text is spoken, while also showing the code in action. I also have doubts about discoverability – I don't think folks would expect to shake their phone to get audio output, nor would they think to shake it again to stop.
Added speak functionality for the studyTextView in StudyViewController.swift file so when the user shake the device the system will start speaking the text from the studyTextView and if user shake the device again the system will stop speaking and vice-versa.
So I think this is a cool feature who don't want to read the text they can simply shake the device and start learning.