上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 98 下一页
摘要: 在cellforrow里面写的,发了一个通知,加载了好几次个人信息,只有在 cellforrow里面添加判断了,if (SharedAppDelegate.userInfo.albumArray.count == 0) {if (SharedAppDelegate.userInfo.albumArray.count == 0) { if (SharedAppDelegate.userInfo.albumArray.count == 0) { SharedAppDelegate.userInfo.albumArray = [NSMutableArray array]; } ... 阅读全文
posted @ 2013-12-05 13:20 路在脚下, 阅读(129) 评论(0) 推荐(0) 编辑
摘要: UILongPressGestureRecognizer* recognizer = [[UILongPressGestureRecognizeralloc] initWithTarget:selfaction:@selector(chooseImage:)]; recognizer.minimumPressDuration = .5f; [self.headerView.albumButton addGestureRecognizer:recognizer];// [self.setCoverNoticeBtn addGestureRecognizer:recognizer]; 阅读全文
posted @ 2013-12-05 12:35 路在脚下, 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 用了一个monitoring.jar插件,用哪个 archive.jar没有起到作用, 阅读全文
posted @ 2013-12-05 12:06 路在脚下, 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-12-04 18:38 路在脚下, 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-12-04 16:32 路在脚下, 阅读(181) 评论(0) 推荐(0) 编辑
摘要: - (void)sendSearchRequest:(NSString *)searchField{ NSXMLElement *iq = [NSXMLElementelementWithName:@"iq"]; NSXMLElement *query = [NSXMLElementelementWithName:@"query"]; [query addAttributeWithName:@"xmlns"stringValue:@"jabber:iq:roster"]; NSXMLElement *item = 阅读全文
posted @ 2013-12-04 14:59 路在脚下, 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 原来是搜索的服务没有安装, [iq addAttributeWithName:@"to"stringValue:@"search.localhost"];I am creating a XMPP sample on ios. What I am trying to do is search user over xmpp. I checked the opernfire server and it has the search plugin enabled. I gone throughXEP:0055and found the stanza. I als 阅读全文
posted @ 2013-12-03 13:14 路在脚下, 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1,公网ip,http://www.whatip.com/2,局域网在iPhone中点击设置,进入WiFi网络设置画面,并确保WiFi已经打开。此时请连接到WiFi网络,然后点击右侧的蓝色箭头标志。此时应该就能看到你的内网IP地址了。在IP Address这一栏下,通过点击最右侧的Static可以让你的内网IP成为静态IP。这样使得你每次访问该网络时得到的内网IP保持不变。 阅读全文
posted @ 2013-12-03 12:02 路在脚下, 阅读(359) 评论(0) 推荐(0) 编辑
摘要: id responseObject = [TTCacheUtilobjectFromFile:CACHE_MAINPAGE_PERSONINFO]; if (responseObject) { SharedAppDelegate.userInfo = [UserInfo userInfoWithDic:responseObject]; [self initData];//显示个人信息 }#define CACHE_MAINPAGE_PERSONINFO [NSString stringWithFormat:@"person_info%d.json", SharedAppD. 阅读全文
posted @ 2013-12-03 10:43 路在脚下, 阅读(315) 评论(0) 推荐(0) 编辑
摘要: -(void)backAction:(id)sender{ [[NSNotificationCenterdefaultCenter]removeObserver:self]; [self.navigationControllerpopViewControllerAnimated:YES];} 阅读全文
posted @ 2013-12-02 18:39 路在脚下, 阅读(155) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 98 下一页