Create a login form in the iOS app

Asked 2 years ago, Updated 2 years ago, 179 views

I would like to create a login form with the iOS app.
The image I want to create is the screen below.
Enter a description of the image here

I am trying to create this email address and password entry in Contents: Static cells in TableView.
(1) UITableView must be the original class
(2) US>Login in UITableViewButtons are also difficult to place (Constraints cannot be set)
(3) TableView does not shrink.
(4) I don't know if I should make it with TableView Contents: Static cells.

I have the above question.(4)If you prefer a different method, I would like to ask you to tell me the method.
(4)If is recommended to use TableView's Contents: Static cells, I would appreciate it if you could tell me how (2)(3) works.

Thank you for your cooperation.

swift storyboard uitableview

2022-09-30 19:51

1 Answers

Typically no table view for this purpose

In this case

  • UIScrollView
    • UIImageView (Logo)
    • UITextField
    • UITextField (password)
    • UIButton (Login)
  • UIImageView (Logo)
  • UITextField
  • UITextField (password)
  • UIButton (Login)

with a view structure similar to

Also, the reason why the scroll view is superview is to adjust the display position according to the display of the keyboard.


2022-09-30 19:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.