iOS: Table-style TextField for Login Screen?
问题 I wanna make a login screen like the one from Facebook's app. The part I wanna replicate is the two text fields that when stacked look like a table group. I can't figure out how they did it though. Who knows the trick? I can't post a picture because I am new to stackoverflow. It's an effect that they seem like one rounded oval but with 2 text fields inside. One for username, one for password. 回答1: you can use the below code. //in .h file UITextField *loginId; UITextField *password ; //in .m