【发布时间】:2014-01-24 16:59:59
【问题描述】:
我正在我的 texfields 上设置边框。我把它们无边界地放在了
[self.localeField.layer setBackgroundColor: [[UIColor whiteColor] CGColor]];
[self.localeField.layer setBorderColor: [[NVGlobals border4MEColor] CGColor]];
[self.localeField.layer setBorderWidth: 0.5];
问题是在 iphone 和 iPad 应用程序之间,文本字段有不同的边框:
正确的 iPhone 视图:
错误的 iPad 视图:
为什么?
【问题讨论】:
标签: ios iphone ipad uitextfield