自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 通过UIScrollView和UIPageControl结合制作相册

1、创建UIScrollView视图: UIScrollView *aScrollView = [[[UIScrollView alloc] initWithFrame:self.view.bounds] autorelease]; aScrollView.backgroundColor = [UIColor redColor]; [self.view ...

2015-10-23 21:26:00 90

转载 UIControl子类之间的关联实例

- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. UISegmentedControl * segmentedControl = [[[UISegmentedControl alloc] initWithItems:@...

2015-10-22 20:44:00 70

转载 手势识别器的使用

// 1、轻拍手势识别器的使用 UITapGestureRecognizer *tapGesture=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(handleTapGesture:)]; //设置需要轻拍的次数 tapGesture.numberOfTapsR...

2015-10-22 15:31:00 91

转载 圆形头像图标设计

#import "MainViewController.h"@interface MainViewController ()@end@implementation MainViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup aft...

2015-10-22 15:07:00 105

转载 简单界面设置及切换

第一步:创建视图控制器并创建LoginViewController、RegistViewController、PasswordViewController三个控制器:#import "MainViewController.h"#import "LoginViewController.h"#import "RegistViewController.h"#import "Pa...

2015-10-17 22:30:00 119

转载 UI涂鸦板设计代码

第一步:创建UIView子类PaintView:1、声明属性和方法:#import <UIKit/UIKit.h>@interface PaintView : UIView@property(nonatomic,retain)NSMutableArray *allLines;@property(nonatomic,retain)UIColor *lineC...

2015-10-17 12:06:00 136

转载 UI简单计算器设计代码

#import "AppDelegate.h"#define kScreenWidth CGRectGetWidth([[UIScreen mainScreen] bounds])#define kScreenHeight CGRectGetHeight([[UIScreen mainScreen] bounds])#define kButtonWidth ((kScree...

2015-10-17 11:51:00 197

空空如也

空空如也

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

TA关注的人

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