Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
dz_TZImagePickerController
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shuijing
dz_TZImagePickerController
Commits
20234831
Unverified
Commit
20234831
authored
Sep 21, 2020
by
谭真
Committed by
GitHub
Sep 21, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1378 from yu-jianfeng/feature/upgradeiOS14
[Fix] Xcode12 构建,iOS14运行,裁切手势不生效问题
parents
2c131b5a
3167c4e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
TZImagePickerController/TZImagePickerController/TZPhotoPreviewCell.m
...erController/TZImagePickerController/TZPhotoPreviewCell.m
+5
-5
No files found.
TZImagePickerController/TZImagePickerController/TZPhotoPreviewCell.m
View file @
20234831
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
strongSelf
.
imageProgressUpdateBlock
(
progress
);
strongSelf
.
imageProgressUpdateBlock
(
progress
);
}
}
}];
}];
[
self
addSubview
:
self
.
previewView
];
[
self
.
contentView
addSubview
:
self
.
previewView
];
}
}
-
(
void
)
setModel
:(
TZAssetModel
*
)
model
{
-
(
void
)
setModel
:(
TZAssetModel
*
)
model
{
...
@@ -418,9 +418,9 @@
...
@@ -418,9 +418,9 @@
[
_playButton
setImage
:[
UIImage
tz_imageNamedFromMyBundle
:
@"MMVideoPreviewPlay"
]
forState
:
UIControlStateNormal
];
[
_playButton
setImage
:[
UIImage
tz_imageNamedFromMyBundle
:
@"MMVideoPreviewPlay"
]
forState
:
UIControlStateNormal
];
[
_playButton
setImage
:[
UIImage
tz_imageNamedFromMyBundle
:
@"MMVideoPreviewPlayHL"
]
forState
:
UIControlStateHighlighted
];
[
_playButton
setImage
:[
UIImage
tz_imageNamedFromMyBundle
:
@"MMVideoPreviewPlayHL"
]
forState
:
UIControlStateHighlighted
];
[
_playButton
addTarget
:
self
action
:
@selector
(
playButtonClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
_playButton
addTarget
:
self
action
:
@selector
(
playButtonClick
)
forControlEvents
:
UIControlEventTouchUpInside
];
[
self
addSubview
:
_playButton
];
[
self
.
contentView
addSubview
:
_playButton
];
[
self
addSubview
:
_iCloudErrorIcon
];
[
self
.
contentView
addSubview
:
_iCloudErrorIcon
];
[
self
addSubview
:
_iCloudErrorLabel
];
[
self
.
contentView
addSubview
:
_iCloudErrorLabel
];
}
}
-
(
void
)
setModel
:(
TZAssetModel
*
)
model
{
-
(
void
)
setModel
:(
TZAssetModel
*
)
model
{
...
@@ -544,7 +544,7 @@
...
@@ -544,7 +544,7 @@
__strong
typeof
(
weakSelf
)
strongSelf
=
weakSelf
;
__strong
typeof
(
weakSelf
)
strongSelf
=
weakSelf
;
[
strongSelf
signleTapAction
];
[
strongSelf
signleTapAction
];
}];
}];
[
self
addSubview
:
_previewView
];
[
self
.
contentView
addSubview
:
_previewView
];
}
}
-
(
void
)
setModel
:(
TZAssetModel
*
)
model
{
-
(
void
)
setModel
:(
TZAssetModel
*
)
model
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment