韌館-LearnHouse

Archive for 2 月, 2017

[iOS]UITextField常用設定

設置邊框樣式,只有設置了才會顯示邊框樣式
text.borderStyle = UITextBorderStyleRoundedRect;

typedef enum {
UITextBorderStyleNone,
UITextBorderStyleLine,
UITextBorderStyleBezel,
UITextBorderStyleRoundedRect
} UITextBorderStyle;

Read more...

2017年2 月 posted by admin in 程式&軟體 and have No Comments