Add iOS compatibility