iOS version not working in background