iOS
木棉杉
软件应用初学者
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UIViewContriller 视图跳转
在父视图中通过presentModalViewController创建第一个子视图,然后在第一个自视图中创建第二个子视图。如何在第二个子视图中返回最初的父视图。if ([self respondsToSelector:@selector(presentingViewController)]){ [self.presentingViewController.pr转载 2014-07-24 17:14:59 · 535 阅读 · 0 评论 -
解决interactivePopGestureRecognizer与UIPanGestureRecognizer冲突
解决interactivePopGestureRecognizer与UIPanGestureRecognizer冲突2015-07-30 21:12:51优快云-linhanmin-点击数:60在当前vc里添加self.navigationController.interactivePopGestureRecognizer.en转载 2015-09-02 14:34:40 · 476 阅读 · 0 评论 -
iOS 尺寸规范
转载 2015-09-29 14:21:01 · 338 阅读 · 0 评论 -
archive 时出错 cordova/CDVViewController.h not found
"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"原创 2015-11-03 16:27:36 · 545 阅读 · 0 评论 -
iOS 9之适配ATS
ATS(App Transport Security)http://www.cocoachina.com/ios/20151021/13722.html转载 2015-10-22 14:05:39 · 357 阅读 · 0 评论 -
iOS 如何解决UITableView刷新卡顿现象
虽然说SDWebImage提供了一个方法,异步加载图片到UIImageView上但是,有些时候。需要的图片并不是需要铺满UIImageView于是就抛弃了,后来想想还是挺二逼的。我可以在下面在铺一层边框UIImageView也能达到这个效果于是乎,故作高大上,非要自己写。后来看别人的方法,找到点感觉,还是写出来了,不过还是建立在网络良好的情况下解决办法转载 2015-10-29 15:14:26 · 2152 阅读 · 0 评论 -
xcode 真机运行出错Please verify that your device’s clock is properly set
Xcode7.1 真机运行出错:Please verify that your device’s clock is properly set, and that your signing certificate is not expired. (0xE8008018).原创 2015-11-24 08:48:54 · 897 阅读 · 0 评论 -
webview 等比缩放
- (void)webViewDidFinishLoad:(UIWebView *)webView { [webView stringByEvaluatingJavaScriptFromString:@"document.body.style.zoom=0.5"]; }修改网页表头内容: NSString *meta = [NSStri原创 2015-12-07 11:55:13 · 1183 阅读 · 0 评论 -
iOS 版本检查更新
#pragma mark - 检查更新- (void)checkUpdateWithAPPID:(NSString *)APPID{ //获取当前应用版本号 NSDictionary *appInfo = [[NSBundle mainBundle] infoDictionary]; NSString *curren转载 2016-05-21 10:55:14 · 522 阅读 · 0 评论 -
UITableView didSelected与UITapGesture 冲突解决
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath方法与UIGestureRecognizer冲突的解决方案:}-((BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecogniz原创 2016-11-15 10:26:55 · 721 阅读 · 0 评论 -
Hbuilder Mui iOS新建精简项目报错处理
首先贴出Xcode报错信息Undefined symbols for architecture x86_64:"_kCGImagePropertyGIFUnclampedDelayTime", referenced from:-[PTGIF initWithGIFData:] in liblibPDRCore.a(PDRToolSystemEx.o)"_CGImageS转载 2017-09-30 17:20:16 · 925 阅读 · 0 评论 -
cell 刷新
//一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithIndex:2]; [tableview reloadSections:indexSet withRowAnimation:UITableViewRowAnimationAutomatic]; //一个cell刷新 NS转载 2015-09-02 13:42:28 · 412 阅读 · 0 评论 -
iOS 打开内置setting
程序间通信的实现描述了通过URL Scheme的方式在应用中打开其他应用,本文则是用这种方式打开内置的Settings应用。 Ios代码 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"]]; 以转载 2014-08-30 10:48:00 · 750 阅读 · 0 评论 -
iOS 应用内的一些调用操作
跳转到you原创 2014-08-30 11:00:20 · 562 阅读 · 0 评论 -
AFNetworking 1.x使用
Request Failed with Error: Error Domain=AFNetworkingErrorDomain Code=-1016 "Expected content type {( "text/javascript", "application/json", "text/json")}, got text/html" UserInfo=0x7f转载 2015-03-17 18:01:48 · 398 阅读 · 0 评论 -
iOS 支付宝集成中遇到的asn1 not found
将支付宝集成包 文件夹 拖到 headerSearchPath即可原创 2015-04-23 17:24:02 · 431 阅读 · 0 评论 -
字符串 汉字/数字提取
//提取出汉字部分 NSMutableString *month = [[NSMutableStringalloc] init]; //需要的长度 int position = 4; for(int i =0; i selectMonth.text.length; i++){ if(position == 0){原创 2015-05-08 17:43:32 · 556 阅读 · 0 评论 -
UITableView 避免奔溃的数组越界处理方法
0x7403d 0x3b36cab7)libc++abi.dylib: terminating with uncaught exception of type NSException(lldb)这个方法objectAtIndex:的说明- (id)objectAtIndex:(NSUInteger)indexDescription Returns the object locat转载 2015-05-09 12:05:15 · 969 阅读 · 0 评论 -
正确设定背景图片 ios
在View里放背景图片就像很多其它iOS编程一样有很多方法:使用UIColor的 colorWithPatternImage来设置背景色;在view中添加一个UIImageView作为一个子View。如果你使用全画幅的背景图,你就必须使用UIImageView因为UIColor的colorWithPatternImage是用来创建小的重复的图片作为背景的。这种情形下使用UI转载 2015-05-21 15:42:44 · 753 阅读 · 0 评论 -
720 PanoramaGL 解析
#import #进口 #import " PLView.h" #导入“PLView.h”@interface HelloPanoramaViewController : UIViewController { @接口HelloPanoramaViewController:UIViewController { IBOutlet PLView * plView; IBOutlet PLView *转载 2015-05-22 15:42:45 · 423 阅读 · 0 评论 -
IOS 自定义framework
鉴于iOS审核要求,我们只能加静态库1、新建工程,选择2、新建测试文件,一般选择继承自NSObject,在.h中自定义方法 -(void)customTest;在.m中实现该方法-(void)customTest{NSLog(@"hello,frist custom framework",);}3、在TARGETS下选中工程,在Build Setti原创 2017-10-31 15:30:59 · 379 阅读 · 0 评论
分享