摘要:
#pragma main switch-(IBAction)mainSwitch:(NSNotification *)notification{ switch (frameState) { case allShow: { [self showFaceViewFrameHandler:notification]; [self showUpperViewFrameHandler:notification]; [self showTableViewFrameHandler:notification]; [selftextViewDidChange... 阅读全文
摘要:
tableview 的contentoffset自己变化了,变小了,也可以理解为 contentinset的bottom 变化了,不知道为什么, 阅读全文
摘要:
bottomView.frame = CGRectMake(bottomView.frame.origin.x, self.contentView.frame.size.height - keyboardHeight - kContentSize.height - textViewBgAndCursor*2, bottomView.frame.size.width, kContentSize.height + textViewBgAndCursor * 2);所有的相关属性 都不是自己调用自己,因此,不会出现 a - 3 - 5, 阅读全文
摘要:
frameState = allShow; [bottomView.inputTextViewbecomeFirstResponder]; [bottomView.inputTextViewbecomeFirstResponder]; frameState=allShow; 阅读全文
摘要:
多次 设置frame,并用了动画, [UIViewbeginAnimations:nilcontext:nil]; [UIViewsetAnimationDelegate:self]; [UIViewsetAnimationCurve:[[[notification userInfo] objectForKey:UIKeyboardAnimationCurveUserInfoKey] intValue]]; [UIViewsetAnimationDuration:[[[notification userInfo] objectForKey:UIKeyboardAnimationDurat... 阅读全文
摘要:
self.tableView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; bottomView.autoresizingMask = UIViewAutoresizingFlexibleTopMargin; 阅读全文
摘要:
要么xib,要么代码, 阅读全文
摘要:
用了 window.frame.size.height,这个对于两个版本(ios7以及ios7以下的)来说是不同的,ios7里面是包括了statusbar的,而后者没有包括, message detail,self.inputView.frame = CGRectMake(self.inputView.frame.origin.x, SharedAppDelegate.window.frame.size.height - self.faceInputView.frame.size.height - contentSize.height - 5 , self.inputView.fra... 阅读全文
摘要:
为什么那个地方没有找呢,这么显眼的一个地方,保持讨论, 阅读全文
摘要:
2014-01-04 16:16:12.537 Zhaocailing[9118:a0b] -[IMRootManager xmppStreamDidDisconnect:withError:] [L118] Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo=0xc1f5c70 {NSLocalizedFailureReason=Error in connect() function, NSLocalizedDescription=Connection refused} 阅读全文