怎么样进入docucenter-v c3373 属性
答案:1 悬赏:70 手机版
解决时间 2021-03-24 09:45
- 提问者网友:战魂
- 2021-03-24 04:34
怎么样进入docucenter-v c3373 属性
最佳答案
- 五星知识达人网友:醉吻情书
- 2021-03-24 05:51
进入docucenter-v c3373 属性
饥荒MOD内置修改器TestTools是玩家[b0101537]提供的适用于荒野求生类游戏《饥荒》的一款超级修改器MOD,它不同于一般的修改器,可以直接在游戏中开启使用,修改起来更加得方便和稳定。这款修改器的作者是非常不建议普通体验游戏的时候使用这个修改器的。
- (void)registerForKeyboardNotifications {
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWasShown:) name:UIKeyboardDidShowNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillBeHidden:) name:UIKeyboardWillHideNotification object:nil];
NSLog(@"register");
}
- (void)keyboardWasShown:(NSNotification *)aNotification {
NSDictionary* info = [aNotification userInfo];
CGSize kbSize = [[info objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;
UIEdgeInsets contentInsets = UIEdgeInsetsMake(0.0, 0.0, kbSize.height, 0.0);
displayTable.scrollEnabled = YES;
displayTable.contentInset = contentInsets;
displayTable.scrollIndicatorInsets = contentInsets;
NSLog(@"keyboardWasShown");
// If active text field is hidden by keyboard, scroll it so it's visible
// Your application might not need or want this behavior.
CGRect aRect = self.view.frame;
aRect.size.height -= kbSize.height;
if (!CGRectContainsPoint(aRect, activeField.superview.superview.frame.origin) ) {
CGPoint scrollPoint = CGPointMake(0.0, activeField.superview.superview.frame.origin.y-aRect.size.height+44);
[displayTable setContentOffset:scrollPoint animated:YES];
}
}
饥荒MOD内置修改器TestTools是玩家[b0101537]提供的适用于荒野求生类游戏《饥荒》的一款超级修改器MOD,它不同于一般的修改器,可以直接在游戏中开启使用,修改起来更加得方便和稳定。这款修改器的作者是非常不建议普通体验游戏的时候使用这个修改器的。
- (void)registerForKeyboardNotifications {
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWasShown:) name:UIKeyboardDidShowNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillBeHidden:) name:UIKeyboardWillHideNotification object:nil];
NSLog(@"register");
}
- (void)keyboardWasShown:(NSNotification *)aNotification {
NSDictionary* info = [aNotification userInfo];
CGSize kbSize = [[info objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;
UIEdgeInsets contentInsets = UIEdgeInsetsMake(0.0, 0.0, kbSize.height, 0.0);
displayTable.scrollEnabled = YES;
displayTable.contentInset = contentInsets;
displayTable.scrollIndicatorInsets = contentInsets;
NSLog(@"keyboardWasShown");
// If active text field is hidden by keyboard, scroll it so it's visible
// Your application might not need or want this behavior.
CGRect aRect = self.view.frame;
aRect.size.height -= kbSize.height;
if (!CGRectContainsPoint(aRect, activeField.superview.superview.frame.origin) ) {
CGPoint scrollPoint = CGPointMake(0.0, activeField.superview.superview.frame.origin.y-aRect.size.height+44);
[displayTable setContentOffset:scrollPoint animated:YES];
}
}
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯