iOS实现类似Android .9图片的代码
2015-09-14 02:00
567 查看
UIImage *inputBackgroundImage = [[UIImage imageNamed:@"common_edit_text.9.png"]
resizableImageWithCapInsets:UIEdgeInsetsMake(5,5,5,5)];
[_loginNameField setBackground:inputBackgroundImage];
[_passwordField setBackground:inputBackgroundImage];
resizableImageWithCapInsets:UIEdgeInsetsMake(5,5,5,5)];
[_loginNameField setBackground:inputBackgroundImage];
[_passwordField setBackground:inputBackgroundImage];
相关文章推荐
- IOS 开发笔记——自定义导航栏返回键后如何恢复系统默认返回手势
- iOS 网易彩票-6设置模块三(常用小功能)
- iOS 开发----Undefined symbols for architecture i386:
- iOS 开发----Storyboard/xib 连线问题
- iOS开发-常用第三方开源框架介绍
- 蓝懿iOS培训日志11 递归
- iOS-NSString常见方法
- iOS之block基础及传值
- iOS程序的完整启动过程(有storyboard)
- iOS开发-- 一个苹果证书如何多次使用
- 苹果开发者帐号三种类型的区别
- iOS导入自定义字体
- iOS实现语言本地化
- Cordova 5.1.1在Mac终端创建iOS工程并添加插件
- iOS中的 沙盒文件夹 (数据的写入和读取,归档和反归档)
- iOS之OC随笔-Model数据类型
- iOS软件开发 获取相册图片或照相
- iOS中读取Cell的两种方式(资源包种加载Cell,从nib文件中注册cell)和xib知识点
- iOS_中国汉字到拼音_pinyin4objc
- iOS中实现plist中读取数据实现Cell的显示(字典转模型,实现按序分组)修改图片的尺寸