自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 资源 (4)
  • 收藏
  • 关注

原创 React Native学习的第一天

首先配置开发环境 http://reactnative.cn/docs/0.42/tutorial.html#content,写编写hello world 的时候遇到'React/RCTBridgeModule.h' file not found解决方法在项目文件夹下先$ npm install然后更新$ react-native upgrade

2017-04-05 16:24:13 488

转载 CGD应用

// 下载网页的功能// 原代码块一self.indicator.hidden = NO;[self.indicator startAnimating];dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ // 原代码块二 NSURL * url = [NSURL URLWit

2016-06-15 20:36:50 434

转载 IOS NSString 字符串处理:截取字符串、匹配字符串、分隔字符串

1.截取字符串NSString*string =@"sdfsfsfsAdfsdf";string = [string substringToIndex:7];//截取下标7之前的字符串NSLog(@"截取的值为:%@",string);[string substringFromIndex:2];//截取下标2之后的字符串NSLog(@"截取的值为:%@",string);

2016-04-14 16:23:08 539

转载 UITextView的使用详解

//初始化并定义大小    UITextView *textview = [[UITextView alloc] initWithFrame:CGRectMake(20, 10, 280, 30)];    textview.backgroundColor=[UIColor whiteColor]; //背景色    textview.scrollEnabled = NO;

2015-11-06 10:16:06 388

转载 欢迎使用CSDN-markdown编辑器

欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl

2015-11-06 10:13:42 350

原创 ios多图片上传

-(NSDictionary *)PostImagesToServer:(NSString *)strUrl dicPostParams:(NSMutableDictionary *)params dicImages:(NSMutableDictionary *) dicImages andImgName:(NSDictionary*)dicImgName{        

2015-04-09 11:50:08 565

原创 ios8 使用storyboard 进行自动布局

e常见符号  H:水平布局(默认)V:垂直布局|superView的边界,水平布局模式下,放在左边是左边界,放在右边是右边界;处置布局模式下,则相应的为上边界和下边界- 标准间隔距离-N-长度为N像素点的间隔距离

2015-03-23 17:02:10 469

转载 iOS多线程GCD

Grand Central Dispatch (GCD)是Apple开发的一个多核编程的解决方法。dispatch queue分成以下三种:1)运行在主线程的Main queue,通过dispatch_get_main_queue获取。/*!* @function dispatch_get_main_queue** @abstract* Returns the de

2015-03-21 10:25:16 347

原创 “std::ios_base::Init::Init()”,referenced from 错误

Undefined symbols for architecture armv7:    "std::ios_base::Init::~Init()",referenced from:        __GLOBAL__I_a in XXXXXX(dsi_debug.o)    "std::ios_base::Init::Init()",referenced from: __GLOBAL__

2015-03-20 11:55:14 2967

原创 ios 字符串和数字互相转化

字符串使用NSString定义成一个用于保存字符串的对象变量,而数字则使用原始类型float、int定义成一个变量,这是一个原生态的变量。这两种变量之间在开发时会需要相互转化。下面是常用的转化方法:NSString *tempA = @"123";NSString *tempB = @"456";1、字符串拼接 NSString *newString = [NSString

2015-03-14 17:12:47 1812

原创 "_OBJC_CLASS_$_CTTelephonyNetworkInfo",referenced from:

Undefined symbols for architecture i386:  "_OBJC_CLASS_$_CTTelephonyNetworkInfo",referenced from:     objc-class-ref in TencentOpenAPI(MTA4QCHelper.o)  "___gxx_personality_v0", referencedfrom:

2015-03-14 11:55:54 3761

原创 "_inflateEnd", referenced from "_inflateInit_"等。这时需要在工程中加入libz.dlib 文件

Undefined symbols for architecture i386: "_compressBound", referenced from: +[NSDataGZipAdditions compressedDataWithBytes:length:] in NSDataGZipAdditions.o "_compress", referenced from:

2015-03-14 11:48:59 607

原创 ios开发 地图上显示大头针和标注简单教程

1.首先导入框架 MapKit.framework和 CoreLocation.framework 2.再导入头文件#impor#impor3.//创建MKMapView的实例   MKMapView *mapView = [[MKMapView alloc]initWithFrame:CGRectMake(0.0,0.0,320.0,[UIScreenma

2015-03-09 19:45:41 775

转载 UISearchBar的使用

UISearchBar是由两个subView组成的,一个是UISearchBarBackGround,另一个是UITextField. 要IB中没有直接操作背景的属性。方法是直接将 UISearchBarBackGround移去 1、修改UISearchBar的背景颜色UISearchBar是由两个subView组成的,一个是UISearchBarBackGround,另一个是UIText

2015-03-06 15:25:26 453

翻译 UISearchBar使用

UISearchBar是个很不错的东东,集成了搜索输入框和搜索按钮,使用起来也灰常方便。[csharp] view plaincopy/*搜索按钮*/  - (void)searchBarCancelButtonClicked:(UISearchBar *)searchBar{      [self doSearch:searchBar];  }    /*键盘搜索按钮

2015-03-06 15:15:11 362

转载 拨打电话

一。利用openURL(tel)特点: 直接拨打, 不弹出提示。 并且, 拨打完以后, 留在通讯录中, 不返回到原来的应用。//拨打电话- (void)callPhone:(NSString *)phoneNumber{ //phoneNumber = "18369......" NSMutableString * str=[[NSMutableString all

2015-02-10 20:43:56 476

原创 关于IOS推送声音的设置

在需要声音的类的.h文件中添加     #import static SystemSoundID shake_sound_male_id = 0;-(void) playSound{    NSString *path = [[NSBundle mainBundle] pathForResource:@"shake_sound_male" ofType:@"wav"];  

2015-01-07 15:14:00 1165

原创 lable里面字体的换行

lable.numberOfLines=0;

2014-12-13 18:36:38 774

ios 13.4真机文件.zip

解压放置:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 文件夹

2020-03-30

iOS 13.4正式版 真机开发包.zip

iOS 13.4正式版 真机开发包.zip解压放置:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 文件夹

2020-03-29

iOS 13.2 正式版 真机开发包.zip

iOS 13.2 正式版 真机开发包.zip ,解压放置:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 文件夹

2020-03-12

iOS 13.1 正式版 真机开发包.zip

iOS 13.1 正式版 真机开发包.zip ,解压放置:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 文件夹

2019-09-26

空空如也

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

TA关注的人

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