You can do this with UITableView.
In Storyboard make a TableView with Content: Static Cells and Style: Grouped.
In the “Table View Section” set Rows to 2 and place an Textfield with a placeholder.
2
solved iOS User Email Password Input Box [closed]