自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 iOS 瀑布流的简单用法

- (void)viewDidLoad { [super viewDidLoad]; mainScrollView = [[UIScrollView alloc] initWithFrame:self.view.bounds]; [self.view addSubview:mainScrollView]; pullArray = [NSMutableArray arr

2016-01-29 14:09:08 478

原创 ios系统地图的定位功能

#import "LocationViewController.h" #import <CoreLocation/CoreLocation.h> @interface LocationViewController ()<CLLocationManagerDelegate> { CLLocationManager * _locationManager ; } @end@implementati

2016-01-29 14:07:46 355

原创 ios 应用程序之间的跳转

//被跳转的应用程序 1.找到偏好设置xx-info.plist 2.新建一行(点击加号或者右键addrow) 3.在item0里面找到url identifier:设置url标示符(这一步可有可无) 4.在item0里面点击加号,新建一行。选择:url schemes 5.设置url schemes(应用程序跳转的标志)//跳转的应用程序 //标示符:application1 //“:”表

2016-01-29 14:05:32 320

原创 ios textField详解

//初始化textfield并设置位置及大小   UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)];   //设置边框样式,只有设置了才会显示边框样式     text.borderStyle = UITextBorderStyleRoundedRect;  typedef enum

2016-01-28 16:34:25 375

原创 ios改变导航栏颜色及其字体颜色

改变系统导航栏颜色 [self.navigationController.navigationBar setBarTintColor:[UIColor colorWithRed:237/255.0 green:10/255.0 blue:34/255.0 alpha:1.0]]; 改变导航栏字体颜色 [self.navigationController.navigationBar setTitle

2016-01-28 16:32:41 410

原创 ios手机号正则表达式

//检查是否为手机号的方法 -(BOOL)checkPhoneNumInput:(NSString *)phoneStr { NSString *photoRange = @"^1(3[0-9]|4[0-9]|5[0-9]|7[0-9]|8[0-9])\\d{8}$";//正则表达式 NSPredicate *regexMobile = [NSPredicate predicateW

2016-01-28 09:54:24 477

原创 iOS 时间戳和标准时间的转换

- (NSString *)timerWith:(NSString *)time { NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat:@"yyyyMMdd"]; NSString *str = [NSString stringWithFormat:@"%

2016-01-28 09:51:29 530

原创 iOS btn文字居左

rightBtn.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft; rightBtn.titleEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);

2016-01-28 09:50:57 400

原创 iOS更改状态栏字体颜色

状态栏的字体为黑色:UIStatusBarStyleDefault状态栏的字体为白色:UIStatusBarStyleLightContent一、在info.plist中,将View controller-based status bar appearance设为NO状态栏字体的颜色只由下面的属性设定,默认为白色:// default is UIStatusBarStyleDefault[UIApp

2016-01-28 09:49:39 365

转载 iOS 名称的国际化

iOS名称的国际化 转自本人新浪博客 http://blog.sina.com.cn/s/blog_b5fba8a20102ymuk.html

2016-01-28 09:46:14 305

原创 ios9 xcode7 UIAlertController的常用用法

// 初始化一个一个UIAlertController // 参数preferredStyle:是IAlertController的样式 // UIAlertControllerStyleAlert 创建出来相当于UIAlertView // UIAlertControllerStyleActionSheet 创建出来相当于 UIActionSheet UIAlert

2016-01-28 09:42:27 370

原创 ios打包 蒲公英生成二维码扫描下载

http://www.pgyer.com 用第三方蒲公英网站打包成二维码扫一扫就可以安装(推荐)前提:调试证书,发布证书,都已经安装在你电脑了​ 然后等一下 接着就是会这个页面 接着是这个页面 选第二个save for ad hoc 到这里扫一下二维码就可以在远方下载测试了,谢谢! 本博客作者原创,转载请注明出处,谢谢合作!

2016-01-28 09:37:45 5990

iOS Geohash.zip

iOS 通过经纬度转Geohash,传入后台,后台通过geohash解析出地理位置,返回需要的东西,适用于周边检索和定点打卡

2019-05-31

空空如也

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

TA关注的人

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