自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (4)
  • 收藏
  • 关注

原创 禁止UITextField输入字符 只能输入数字

禁止UITextField输入数字  :- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {    return [selfvalidateNumber:string];}

2016-05-27 14:57:39 274

原创 读取本地json文件

如何读取本地json文件:NSString *textPath = [[NSBundlemainBundle] pathForResource:@"test1"ofType:@"json"];    NSData *textData = [NSDatadataWithContentsOfFile:textPath];    NSDictionary *textDic =

2016-05-12 10:09:35 535

原创 iOS 键盘遮挡

- (void)viewWillAppear:(BOOL)animated {    [superviewWillAppear:animated];    [selfregisterKeyboardEvent];}- (void)viewWillDisappear:(BOOL)animated {    [superviewWillDisappear:ani

2016-05-06 10:01:09 290

原创 iOS tabelView获取当前选中cell

TabelView获取当前选中cell:NSIndexPath *lastIndexPath = [tableViewindexPathForSelectedRow];   DDPEditorCell *newCell = [tableViewcellForRowAtIndexPath:indexPath];记录上一次点击cell:static

2016-05-06 09:13:10 699

原创 iOS 设置圆角

事例 给按扭UIButton *_radioButton设置圆角:    _radioButton.layer.borderWidth =1.f; // 设置边框宽度   _radioButton.layer.borderColor = [[UIColoryellowColor] CGColor]; // 设置边框颜色    _radioButton.layer.masks

2016-05-05 10:20:05 347

iOS 13调试包.zip

iOS 13调试包,支持 iOS 13.2.2,Xcode版本过低,加入测试包到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport路径下,关闭重启即可。

2019-11-15

Xcode themes

包含Xcode的多种字体样式。

2016-12-07

iOS 拨打电话功能

iOS 拨打电话功能

2016-06-29

IOS 拨打电话(三种方式)

IOS 拨打电话(三种方式)

2016-06-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除