自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (3)
  • 收藏
  • 关注

原创 Xcode6新建工程部署到iOS7设备上不能全屏显示

当你运行项目时出现这样的警告:warning: All interface orientations must be supported unless the app requires full screen.直接上图:

2015-12-23 17:55:40 797

转载 Xcode 7免证书真机调试

如果你打算向App Store提交应用,那仍然需要付费。使用方法:  1.新建一个普通的项目  2.进入xcode,菜单栏选择xcode –> preferences (快捷键 command + ) 3.在Accounts选项卡添加自己的Apple ID。  添加完成后你会看到这样的信息。可以看到下面显示了iOS和Mac的Free标记了,

2015-12-15 09:12:27 480

原创 向右滑动返回上一页

.m文件- (void)viewDidAppear:(BOOL)animated{ self.view.backgroundColor = [UIColor brownColor]; self.navigationController.interactivePopGestureRecognizer.enabled = YES;//让rootView禁止滑动}- (BOOL

2015-12-14 08:22:00 1677

原创 iOS UIWebView 加载网页

#import "webViewController.h"#define UISCREEN_WIDTH [[UIScreen mainScreen]bounds].size.width#define UISCREEN_HEIGHT [[UIScreen mainScreen]bounds].size.height@interface webViewController ()@en...

2015-12-11 15:27:50 471

原创 textField中只能输入数字

#pragma mark - textField //只能输入数字-(BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string{ NSCharacterSet *cs = [[NSCharacter

2015-12-04 14:31:27 2658

原创 iOS 修改为http协议

iOS9后系统默认的是https协议,https和http的区别就是安全性修改为http协议的方法是:1、打开项目的plist文件找到Info;2、找到Application requires iPhone environment;3、添加Allow Arbitrary Loads 并设置为YES。...

2015-12-03 11:22:10 982

原创 根据按钮的状态来修改图片

UIButton *keepPWD = [UIButton buttonWithType:UIButtonTypeCustom];keepPWD.frame = CGRectMake(5, 390, 20, 20);[keepPWD setImage:[UIImage imageNamed:@"jzmm1.png"] forState:UIControlStateNormal];keepPW

2015-12-03 09:30:53 498

原创 textField中含有图片,文字在图片后显示

UITextField *numberTF = [[UITextField alloc]init];numberTF.frame = CGRectMake(5, 200, UISCREEN_WIDTH-10, 50);numberTF.borderStyle = UITextBorderStyleRoundedRect;numberTF.placeholder = @"请输入您的账号";[

2015-12-02 21:32:55 884

原创 修改textField的placeholder的字体颜色、大小

textField.placeholder = @"请输入您的密码";[textField setValue:[UIColor redColor] forKeyPath:@"_placeholderLabel.textColor"];[textField setValue:[UIFont boldSystemFontOfSize:16] forKeyPath:@"_placeholderLab

2015-12-02 14:29:10 492

向右滑动返回上一页

向右滑动返回上一页的demo,仿查看短信后向右滑动返回上一页

2015-12-14

仿QQ选择图片

在相册中图片的右上角选择图片,也可以选择多张图片。

2015-09-24

聊天开源库UUChat

主要用于聊天之类的应用,可以发文字、图片以及语音。和QQ聊天很相似。

2015-09-08

空空如也

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

TA关注的人

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