自定义博客皮肤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)
  • 收藏
  • 关注

转载 为一个view添加UIAlertview动画效果

CAKeyframeAnimation * animation; animation = [CAKeyframeAnimation animationWithKeyPath:@”transform”]; animation.duration = 0.5; animation.delegate = self; animation.removedOnComplet

2017-02-17 09:10:28 364

原创 真机测试碰到Could not find Developer Disk Image的解决办法

这个问题出现的原因一般是因为真机的ios版本过高或过低,而xcode没有对应的ios调试包文件. 通过路径找到 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport文件夹目录下,看有没有对应的ios版本文件夹. 如果没有.解决方法有两种: 1: 升级最新版xcode 2: 从

2016-09-18 10:56:16 427

转载 当键盘出现的时候,如何让UITextField自动上移

对于这个问题,主要是通过增加对键盘出现和消失的相应的Notification,然后在键盘出现和消息的时候,通过设置相关控件的frame来实现。相关代码如下,来源自stackoverflow。-(void)textFieldDidBeginEditing:(UITextField *)sender { if ([sender isEqual:_textField]) {

2016-02-26 15:57:35 585

原创 iOS -- childViewController 的问题

做开发,会经常碰到图片这种类似的需求.或是segmentControl 或者两个button控制两个界面直接的切换 推荐一个比较好用的方法 新建两个viewController,我们命名为FirstViewController 和 SecondViewController 在RootViewController的代码如下#import "RootViewController.h" #impor

2016-02-04 17:03:51 498

原创 关于iOS中图片的平铺

做项目遇到这种问题 UI提供的图是这样的,只有一个锯齿 但是我们项目的需求是这样的,是一排锯齿 这个时候我们可以用图片的平铺来完成效果self.sawtoothImageView = [[UIImageView alloc]init]; UIImage *sawtoothImage = [UIImage imageNamed:@"home_sawtooth"];

2016-02-04 16:16:24 923

空空如也

空空如也

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

TA关注的人

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