摘要: 查询 string access_token = "你的token"; string posturl = "https://api.weixin.qq.com/cgi-bin/menu/get?access_token=" + access_token; HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(posturl); request.ContentType = "application/x-www-form-urlencoded"; reque... 阅读全文
posted @ 2013-08-09 09:12 想飞的咸鱼 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1 删除 2 string access_token = "你的token"; 3 string posturl = "https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=" + access_token; 4 HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(posturl); 5 request.ContentType = "application/x-www-form-urlenco... 阅读全文
posted @ 2013-08-09 09:11 想飞的咸鱼 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 创建 1 string access_token = "你的token"; 2 string posturl = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=" + access_token; 3 string menuStr = " 菜单结构"; 4 5 HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(posturl); 6 request.ContentTy... 阅读全文
posted @ 2013-08-09 09:09 想飞的咸鱼 阅读(1103) 评论(0) 推荐(1) 编辑
摘要: 转载于互联网写操作NSString *name=[txt1 text];NSNumber *phoneNumber=[[NSNumber alloc] initWithInt:[[txt2 text] intValue]];NSNumber *age=[[NSNumber alloc] initWithInt:[[txt3 text] intValue]];NSMutableArray *array=[[NSMutableArray alloc]init];[arrayaddObject:name];[arrayaddObject:phoneNumber];[arrayaddObject:ag 阅读全文
posted @ 2012-08-10 11:03 想飞的咸鱼 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 相信很多同学在学习的过程之中,都碰到类似的问题。如何你是在用TabBarController写demon,那你错误原因可能是:TabBarController下的ViewController的class没有指为datePicker所在的类 阅读全文
posted @ 2012-08-10 09:15 想飞的咸鱼 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 新版SDK自身提供Json解析库,为了向下兼容很多程序仍会采用其他类库来解析,以下就是用JSONKit解析的例子 NSLog(@"打印测试"); NSString *jsonstring =@"[{\"age\":18,\"book\":{\"price\":23.2,\"title\":\"boook111\"},\"name\":\"samyou\"},{\"age\":22,\"book\& 阅读全文
posted @ 2012-08-09 09:36 想飞的咸鱼 阅读(2183) 评论(0) 推荐(0) 编辑
摘要: 最近在自学IOS,发现4.3的xcode里没有window-based Application模板,需要通过建EmptyApplication模版之后,手动添加一些文件。大家可以参考一下这个http://blog.csdn.net/tiger119/article/details/7587270 阅读全文
posted @ 2012-07-26 12:29 想飞的咸鱼 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 博客太空白了 ,那么垒起第一条随笔吧,希望在这里有更多的交流和学习。 阅读全文
posted @ 2012-05-21 16:44 想飞的咸鱼 阅读(109) 评论(0) 推荐(0) 编辑