Home › Forums › OpenEars › suspend listen at first start › Reply To: suspend listen at first start
December 31, 2014 at 7:08 pm
#1024035
sckramer
Participant
Ok, just checking if it’s an easy option, but agreed and I’ll rethink my design. I built it into it’s own NSObject (gui-less, using NSnotifications to talk to the current viewcontroller) so I can activate it anywhere, and in my case when I first launch the app I load it in viewDidload (with a background queue because there is a 5-7 second delay when you do the “startListening”) but then I need it suspended until the right time in my app.
So thinking about it more, I’ll load it on the first time it’s needed…