Fixed a warning on current iOS versions