Unverified Commit dc03eb30 authored by 张贵广's avatar 张贵广 Committed by GitHub

修改判断条件

我认为应该这么改,不知道你是出于什么考虑?
parent fb2980d2
......@@ -154,7 +154,7 @@
#pragma mark - Lazy load
- (UIButton *)selectPhotoButton {
if (_selectImageView == nil) {
if (_selectPhotoButton == nil) {
UIButton *selectPhotoButton = [[UIButton alloc] init];
[selectPhotoButton addTarget:self action:@selector(selectPhotoButtonClick:) forControlEvents:UIControlEventTouchUpInside];
[self.contentView addSubview:selectPhotoButton];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment