kongkong's Blog

No Silver Bullet --- Computer Language is just a tool.

IOS 开发常见问题与解决汇总

| Comments

1.UITextField点击后,键盘大小写的开关,默认是开,需要设置

       textField.autocapitalizationType=NO;//关闭键盘的大写键

2.从另外一个项目中copy过来一个storyboard文件,出现duplicated connections of an IBOutlet,重启Xcode以后就OK了。

3去除空白字符

NSString *value=[_serverAddressTextField.text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];

Comments

comments powered by Disqus