自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 13年iOS笔记小结

#pragma mark –内容(标记方法的方法)蓝色弹窗       UIAlertView * Alert =[[UIAlertView alloc]initWithTitle:@"提示"message:@"请输入用户名和密码" delegate:self cancelButtonTitle:@"取消"otherButtonTitles:@"确定", nil];       [

2014-05-09 10:28:48 457

原创 iOS自下而上弹出动画

弹出   [self.navigationController presentModalViewController:baNavigation animated:YES];返回 [self dismissModalViewControllerAnimated:YES];

2014-05-09 10:24:10 1046

原创 非ARC中添加ARC的设置

选中工程->TARGETS->相应的target然后选中右侧的“Build Phases”,向下就找到“Compile Sources”了。如何在未使用arc的工程中引入一个使用了arc特性的文件:对相应的文件添加:-fobjc-arc参数

2014-05-09 10:21:42 412

原创 iOS 修改搜索控件canel

- (void)searchBarTextDidBeginEditing:(UISearchBar *)hsearchBar{    [self.view bringSubviewToFront:searchTb];    searchBar.showsCancelButton = YES;    for(id cc in [searchBar subviews])    {

2014-05-09 10:20:18 466

原创 tableView 默认显示某行

[utv setContentOffset:CGPointMake(0, (NowRow-1)*50)];这里通过

2014-05-09 10:19:02 611

原创 UIView随手势拖动

- (void) handleSwipe:(UIPanGestureRecognizer*) recognizer{        CGPoint translation = [recognizer translationInView:self.view];    recognizer.view.center = CGPointMake(recognizer.vie

2014-05-09 10:16:09 1885

原创 NSString 中插入数据

[YourString insertString:@":" atIndex:2];很简单~

2014-05-09 10:14:49 611

原创 iOS旋转动画

CGAffineTransform  transform;        //设置旋转度数        transform = CGAffineTransformRotate(Btn37.transform,M_PI);        //动画开始        [UIView beginAnimations:@"rotate" context:nil ];

2014-05-09 10:11:41 474

空空如也

空空如也

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

TA关注的人

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