fixed issue 1415, resume on iOS works as intended