上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 1 //如何获取已经安装到苹果手机上的App信息?2 Is it possible to get the information (app icon, app name, app location) about all apps that have been installed on iPhone/iPod?3 //解答4 URL:stackoverflow网5 http://stackoverflow.com/questions/3878197/is-it-possible-to-get-information-about-all-apps-installed-on-iphone/38782 阅读全文
posted @ 2013-12-11 17:47 wangzhenxiang 阅读(330) 评论(0) 推荐(0) 编辑
摘要: Questions: haseScriptExecution Run\ Script /Users/jun/Library/Developer/Xcode/DerivedData/ButtonMap-cgoythyaglpcuscsyvhmpkkhfkkb/Build/Intermediates/ButtonMap.build/Release-iphoneos/ButtonMap.build/Script-8B005C22176751AA00272AF9.sh Answer:delete DerivedData Directory all fileQuestions:ssh: connect 阅读全文
posted @ 2013-12-09 11:10 wangzhenxiang 阅读(1390) 评论(0) 推荐(0) 编辑
摘要: 1:安装mac ports2:安装DPKG, 在终端输入sudo port -f install dpkg即可安装3:安装theosTheos是一个基于Make的编译环境,我们正是用它来编译生成deb文件的。从该网站下载https://github.com/DHowett/theos,然后解压到你的保存目录下。配置环境变量export THEOS = /opt/theos 参考第5步的配置变量方法4: 下载安装IOSOpenDev,安装失败可以参考https://github.com/kokoabim/iOSOpenDev/wiki/Troubleshoot5:还不能正常编译,你需要动态编译环 阅读全文
posted @ 2013-12-08 10:45 wangzhenxiang 阅读(577) 评论(0) 推荐(0) 编辑
摘要: 1 theos/Logos常用命令 2 3 %hook 用的最多,意思是钩住一个类。 4 5 %hook SpringBoard 6 %end 7 8 %new (v@:) 新建方法 v是返回值@代表参数名 9 %new(v@:@i)10 - (void) alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;11 12 %subclass:子类化一个类13 如:%subclass Classname: Superclass 14 15 %group:分组16 如:%group Gr... 阅读全文
posted @ 2013-12-06 16:12 wangzhenxiang 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1 1.AFNetworking是一个开源的网络库2 2.EGORefreshTableHeaderView是一个实现向下拉刷新列表的组件3 3.MBProgressHUD是一个进度显示的组件4 4.EGOImageLoading是一个实现异步加载图片的组件5 5.GCDiscreetNotificationView是一个非模态化的 iOS 通知视图,可用来显示应用中的一些信息提示,而不会干挠用户的交互操作6 6.ALToastView同GCDiscreetNotificationView一样也可以实现信息提示,也不会干扰用户的交互操作,与Android中Toast效果相似。 阅读全文
posted @ 2013-12-05 14:12 wangzhenxiang 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1 +(int)compareDate:(NSDate *)date1 date:(NSDate *)date2 2 { 3 NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; 4 [dateFormatter setDateFormat:@"yyyy-MM-dd"]; 5 //比较准确度为“日”,如果提高比较准确度,可以在此修改时间格式 6 NSString *stringDate1 = [dateFormatter stringFromDate:date1]; 7 NS... 阅读全文
posted @ 2013-12-05 11:05 wangzhenxiang 阅读(916) 评论(0) 推荐(0) 编辑
摘要: 1 - (UIColor *)getColor:(NSString *)hexColor 2 { 3 unsigned int red,green,blue; 4 NSRange range; 5 range.length = 2; 6 7 range.location = 0; 8 [[NSScanner scannerWithString:[hexColor substringWithRange:range]] scanHexInt:&red]; 9 10 range.location = 2;11 [[NSSca... 阅读全文
posted @ 2013-12-04 16:17 wangzhenxiang 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 1 UILabel *_label = [[UILabel alloc]initWithFrame:CGRectMake(20, self.view.frame.size.height*0.5f, self.view.frame.size.width*0.5f, 40)]; 2 _label.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.6]; 3 _label.textColor = [UIColor whiteColor]; 4 _label.layer.cornerRadius = 5; 5 _lab.. 阅读全文
posted @ 2013-12-04 11:01 wangzhenxiang 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1 static int size[] = {96, 72, 64, 48, 36, 24, 18, 14, 13, 12, 11, 10}; //这么多字体,从大到小挨个尝试 2 static int array_length = 12; 3 4 UIFont *font; 5 6 for(int i = 0; i < array_length; i++) 7 { 8 font = [font fontWithSize:size[i]]; 9 //设定宽度,高度无限高10 CGSize co... 阅读全文
posted @ 2013-12-03 16:37 wangzhenxiang 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1 //移动旋转动画效果2 CATransform3D rotate = CATransform3DMakeRotation(70.0 * M_PI / 180.0, 0.0, 0.0, 1.0);3 CATransform3D translate = CATransform3DMakeTranslation(20.0, -500.0, 0.0);4 self.layer.transform = CATransform3DConcat(rotate, translate); //执行动画5 [UIViewanimateWithDuration:0.3delay:0.0options:UIVi. 阅读全文
posted @ 2013-12-02 12:07 wangzhenxiang 阅读(500) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页