iOS compatibility changes