demo functions about ios