08 2014 档案
摘要://move the repeated item NSInteger index = [orignalArray count] - 1; for (id object in [orignalArray reverseObjectEnumerator]) { if ([orignalArray ind...
阅读全文
摘要:原因在于决定row number得array变动后没有再次将其count赋值给numberOfRowsInSection中返回的成员变量。致使没有其作用
阅读全文
摘要:具体表现为两个view间已经pushview并且执行了下一个页面的viewdid函数但是仍然卡死在前一个页面上原因: 第二个页面有for循环函数,count-1结果这次获取的array为空,也没有做array count大于零的判断致使count - 1成为了max值很大不停得循环。
阅读全文
摘要:使用Keychain存储用户敏感信息iOS的keychain服务提供了一种安全的保存私密信息(密码,序列号,证书等)的方式,每个ios程序都有一个独立的keychain存储。相对于 NSUserDefaults、文件保存等一般方式,keychain保存更为安全,而且keychain里保存的信息不会因...
阅读全文
摘要:具体问题原因是url中输入的有中文,那么这个就看作非法的字符无法识别。这种的必须使用post方式来发送消息。具体为: tmp = mainurl; [parameters appendString:key]; [parameters appendString:value];NSURL * downl...
阅读全文
摘要:- (BOOL)disablesAutomaticKeyboardDismissal { return NO;}
阅读全文
摘要:UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom]; btn.frame = CGRectMake(5, self.alertView.lableView.frame.size.height + self.checkBox.fra...
阅读全文
摘要:if (parameters) { int genderNumber = 1; self.token = loginToken; self.personPK = kidPK; self.personName = personNameL; self.personNickName = nickName...
阅读全文
摘要:UIImage *imageLater = image1;UIImage *imagePre = image2;if (imageLater == imagePre){....}
阅读全文
摘要:if ( [[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0){ //check whether the permission open for user in settings AVAuthorizationStatus au...
阅读全文

浙公网安备 33010602011771号