Wait to return results until view controller is dismissed on iOS - Should fix #46