自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 iOS配置允许HTTP请求

在info.plist里面增加App Transport Security Settings 属性再在此属性内增加 Allow Arbitrary Loads ,并设置值未YES。

2018-07-05 14:23:51 19111

原创 Xcode打包ipa所在位置

/Users/kaixuan/Library/Developer/Xcode/Archives// 注意将路径中的前两个 /Users/kaixuan 更换成自己 电脑对应的路径

2017-12-13 16:29:14 5200

原创 swift 去除字符串中首尾位置的空格

var  originalStr = "   woqu  haha   "let  afterStr = originalStr.trimmingCharacters(in: characterSet.whiteSpaces)// afterStr = "woqu  haha"

2017-08-30 14:22:54 2981

原创 ios swift tableView 刷新某一行某一组,及UITableViewRowAnimation

// OC 刷新tableView的行和组  //刷新某些行,传入一个indexPath的数组(可以刷新多行)    NSIndexPath *indexPath = [NSIndexPathindexPathForRow:3inSection:0];    [self.tableViewreloadRowsAtIndexPaths:@[indexPath]with

2017-06-20 09:34:23 14930

原创 iOS could not load any Objective-C class information

warning: could not load any Objective-C class information. This will significantly reduce the quality of type information available.出现这种警告应该就是循环引用的问题了。好好查看一下断点处的代码。找到循环引用的地方更改掉就可以了。就比如 :

2017-03-20 10:49:16 567

转载 ios获取设备基本信息

转载自http://blog.csdn.net/u013935547/article/details/51782810

2017-03-08 16:31:51 375

原创 iOS 通过CGImageRef来进行图片的截取、裁剪

当我们想得到一张图的某一个部分的时候,可以使用CGImgaeRef来进行截图操作。1. 首先了解CGImageRef:CGImageRef: 位图的基本概念,可以点击看他的源码,是用C语言定义的。                          可以通过它来创建像素位图,通过操作储存像素位图已达到裁剪图片的目的。    UIImage *originalImage = [UI

2016-12-30 17:48:24 2086

原创 ios 调用系统相机为英文时的更改

使用UIImagePickerViewController调用系统相机,当系统相机按钮为英文时。在 info.plist 中添加 Localization native development region(设置APP语言) 一项,值填 China .或者是添加另一项  Localized resources can be mixed   YES.经过我的测试,两种都可以是英文变为中文

2016-12-29 16:51:25 1346 1

原创 ios UIAlertActionStyle样式

typedef NS_ENUM(NSInteger, UIAlertActionStyle) {    UIAlertActionStyleDefault = 0,  // 默认样式    UIAlertActionStyleCancel,       // 取消样式    UIAlertActionStyleDestructive   // 点击按钮为红色} NS_ENUM_AV

2016-12-27 09:55:48 7526 1

原创 Python中判断输入数据的类型

在接收input()输入的数据后,判断接收到的字符串是否为数字例如:str = nput("please input the number:")if str.isdigit():为True表示输入的所有字符都是数字,否则,不是全部为数字str为字符串str.isalnum() 所有字符都是数字或者字母str.isalpha() 所有字符都是字母str.i

2016-10-25 17:21:16 12512

原创 ios directory not found for option -F -L

If it is a "directory not found for option '-L/..." error, that means it's a Library Error, and you should try to:Click on your project (targets)Click on Build SettingsUnder Library Search Paths,

2016-10-25 10:17:38 495

空空如也

空空如也

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

TA关注的人

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