上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 39 下一页

2014年4月25日

ios中沙盒

摘要: 打开模拟器沙盒目录下面看看模拟器的沙盒文件夹在mac电脑上的什么位置。文件都在个人用户名文件夹下的一个隐藏文件夹里,中文叫资源库,他的目录其实是Library。2.1 方法1、可以设置显示隐藏文件,然后在Finder下直接打开。设置查看隐藏文件的方法如下:打开终端,输入命名显示Mac隐藏文件的命令:... 阅读全文

posted @ 2014-04-25 10:38 Hai_阔天空 阅读(310) 评论(0) 推荐(0)

2014年4月24日

Mac下安装apk(命令形式)

摘要: 1 连接上设备2 卸载原有程序3 进入adb程序目录/Applications/adt-bundle-mac-x86_64-20131030/sdk/platform-tools4 键入命令 ./adb install [需要安装的apk包的完整目录] 阅读全文

posted @ 2014-04-24 10:05 Hai_阔天空 阅读(557) 评论(0) 推荐(0)

2014年4月16日

iOS 保存异常日志

摘要: //// AppDelegate.m// test//// Created by Chocolate. on 14-4-16.// Copyright (c) 2014年 redasen. All rights reserved.//#import "AppDelegate.h"@imple... 阅读全文

posted @ 2014-04-16 17:41 Hai_阔天空 阅读(256) 评论(0) 推荐(0)

android sliding menu

摘要: https://github.com/jfeinstein10/SlidingMenu/ 阅读全文

posted @ 2014-04-16 16:13 Hai_阔天空 阅读(237) 评论(0) 推荐(0)

2014年4月8日

iOS 苹果官方 Crash文件分析方法 (iOS系统Crash文件分析方法)

摘要: 时间2013-08-20 12:49:20GoWhich原文http://www.gowhich.com/blog/view/id/343苹果官方 Crash文件分析方法 (iOS系统Crash文件分析方法)symbolicatecrash路径:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash对于提交的苹果 阅读全文

posted @ 2014-04-08 16:10 Hai_阔天空 阅读(847) 评论(0) 推荐(0)

iOS应用崩溃日志分析

摘要: 转自raywenderlich作为一名应用开发者,你是否有过如下经历?为确保你的应用正确无误,在将其提交到应用商店之前,你必定进行了大量的测试工作。它在你的设备上也运行得很好,但是,上了应用商店后,还是有用户抱怨会闪退 !如果你跟我一样是个完美主义者,你肯定想将应用做到尽善尽美。于是你打开代码准备修复闪退的问题……但是,从何处着手呢?这时iOS崩溃日志派上用场了。在大多数情况下,你能从中了解到关于闪退的详尽、有用的信息。通过本教程,你将学习到一些常见的崩溃日志案例,以及如何从开发设备和iTunes Connect上获取崩溃日志文件。你还将学习到符号化( symbolication),从日志追踪 阅读全文

posted @ 2014-04-08 13:26 Hai_阔天空 阅读(241) 评论(0) 推荐(0)

2014年4月3日

iOS 推送

摘要: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ //在退出应用,接收到推送通知,会走这里//判断是否是接收远程通知推送 if(launchOptions==0) { } else { NSDictionary *userInfo = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]; //推送消息内容//... 阅读全文

posted @ 2014-04-03 17:06 Hai_阔天空 阅读(220) 评论(0) 推荐(0)

2014年4月2日

iOS 修改textholder的颜色

摘要: UITextField *textField = [[UITextField alloc]initWithFrame:CGRectMake(10, 50, 320, 50)]; textField.placeholder = @"填写订单"; if ([textField respondsToSelector:@selector(setAttributedPlaceholder:)]) { UIColor *color = [UIColor redColor]; textField.attributedPlaceholder = [[NSAttribut... 阅读全文

posted @ 2014-04-02 20:57 Hai_阔天空 阅读(363) 评论(0) 推荐(0)

iOS 7.1 UITapGestureRecognizer 不好用的解决办法

摘要: UITapGestureRecognizer *tap3 = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onSecondNavClick:)]; [field3 addGestureRecognizer:tap3]; tap3.delegate = self;-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:... 阅读全文

posted @ 2014-04-02 17:23 Hai_阔天空 阅读(445) 评论(0) 推荐(0)

2014年4月1日

IOS中定时器NSTimer的开启与关闭

摘要: 调用一次计时器方法:[cpp]view plaincopymyTimer=[NSTimerscheduledTimerWithTimeInterval:1.5target:selfselector:@selector(scrollTimer)userInfo:nilrepeats:NO];//不重复,只调用一次。timer运行一次就会自动停止运行重复调用计时器方法:[cpp]view plaincopytimer=[NSTimerscheduledTimerWithTimeInterval:1.0target:selfselector:@selector(function:)userInfo: 阅读全文

posted @ 2014-04-01 17:00 Hai_阔天空 阅读(321) 评论(0) 推荐(0)

上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 39 下一页

导航