What I want to do is have a while statement which loops whilst the recorder.recording property value is set to YES. So, something like:
while (recorder.recording == YES) { // Do something here until the record button is pressed again // Stop the recorder from recording and break out of loop }
Problem I'm currently facing is that the UI becomes completely frozen due to the while loop. Any ideas?