摘要: CGSize imageSize = CGSizeMake(self.doneButton.frame.size.width, self.doneButton.frame.size.height); UIGraphicsBeginImageContextWithOptions(imageSiz... 阅读全文
posted @ 2015-09-21 15:26 金刚葫芦娃哈哈 阅读(153) 评论(0) 推荐(0) 编辑
摘要: UIWebView 与 JS的交互 阅读全文
posted @ 2015-09-17 10:42 金刚葫芦娃哈哈 阅读(264) 评论(0) 推荐(0) 编辑
摘要: ---恢复内容开始---推送RSA加密1RSA加密2UIWebView获取cookieNSdata 与 NSString,Byte数组,UIImage 的相互转换---ios开发 Objective-CApp发布快速寻找第三方库Xcode6.4插件不能用的解决办法 阅读全文
posted @ 2015-09-16 15:43 金刚葫芦娃哈哈 阅读(121) 评论(0) 推荐(0) 编辑
摘要: NSHTTPCookieStorage *sharedHTTPCookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; NSArray *cookies = [sharedHTTPCookieStorage cookiesForU... 阅读全文
posted @ 2015-09-12 09:17 金刚葫芦娃哈哈 阅读(136) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/wave_1102/article/details/27327069 阅读全文
posted @ 2015-09-07 16:17 金刚葫芦娃哈哈 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 在下面方法中注册一下- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings{ [[... 阅读全文
posted @ 2015-08-24 17:35 金刚葫芦娃哈哈 阅读(423) 评论(0) 推荐(0) 编辑
摘要: .h文件#import @interface ChineseTool : NSObject/*** 汉字转拼音** @param chinese 要转换的汉字* @param stripDiacritics 是否需要音标** @return 拼音*/+ (NSString *)pinyinF... 阅读全文
posted @ 2015-08-20 11:52 金刚葫芦娃哈哈 阅读(403) 评论(0) 推荐(0) 编辑
摘要: CABasicAnimation* rotationAnimation; rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"]; rotationAnimation.toValue ... 阅读全文
posted @ 2015-08-11 16:22 金刚葫芦娃哈哈 阅读(147) 评论(0) 推荐(0) 编辑
摘要: -(id)fetchSSIDInfo{NSArray*ifs=(__bridge_transferid)CNCopySupportedInterfaces();NSLog(@"Supportedinterfaces:%@",ifs);idinfo=nil;for(NSString*ifnaminif... 阅读全文
posted @ 2015-08-05 11:30 金刚葫芦娃哈哈 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 本文参考http://blog.csdn.net/scape1989/article/details/18959657 在ubuntu上要使用openssl的话需要先进行安装,命令如下:sudo apt-get install openssl安装完成就可以使用openssl了。首先需要进入opens... 阅读全文
posted @ 2015-08-01 11:42 金刚葫芦娃哈哈 阅读(407) 评论(0) 推荐(0) 编辑