如何在ios中创建连接的文本字段?

问题描述:

我想为我的iOS应用创建类似于Facebook的登录屏幕.

I want to create a login screen similar to facebook's for my iOS app.

如何创建两个均位于该圆形框中的文本字段?

How do I create 2 text-fields that are both in that rounded box?

UIView中嵌入两个文本字段,并为该视图提供所需的layer.cornerRadius

Embed two textfields in a UIView and give that view the layer.cornerRadius that you need

提供UIView圆角