two method create ios ui