added back ios check into snapshot method