Skip to content

Commit 6017b85

Browse files
committed
冒泡保存了地址,但是再次发送的时候地址信息没有显示出来
1 parent 3fd3775 commit 6017b85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Coding_iOS/Views/Cell/TweetSendTextCell.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ - (UIView *)keyboardToolBar{
110110
UIView *keyboardToolBar = [[UIView alloc] initWithFrame:CGRectMake(0, CGRectGetHeight(_footerToolBar.frame) - 40, kScreen_Width, 40)];
111111
[keyboardToolBar addLineUp:YES andDown:NO andColor:[UIColor colorWithHexString:@"0xc8c7cc"]];
112112
keyboardToolBar.backgroundColor = [UIColor colorWithHexString:@"0xf8f8f8"];
113-
{//location button
113+
if (!_locationButton) {
114114
_locationButton = [self locationButtonWithStr:nil];
115-
[_footerToolBar addSubview:_locationButton];
116115
}
116+
[_footerToolBar addSubview:_locationButton];
117117
{//tool button
118118
UIButton *photoButton = [self toolButtonWithToolBarFrame:keyboardToolBar.frame index:0 imageStr:@"keyboard_photo" andSelecter:@selector(photoButtonClicked:)];
119119
[keyboardToolBar addSubview:photoButton];

0 commit comments

Comments
 (0)