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
e7b60ddf
Commit
e7b60ddf
authored
Dec 17, 2017
by
yuzheng.tz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将_albumArr的赋值放到主线程里
parent
24753b8d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
TZImagePickerController.xcodeproj/project.pbxproj
TZImagePickerController.xcodeproj/project.pbxproj
+3
-3
TZImagePickerController/TZImagePickerController/TZImagePickerController.m
...troller/TZImagePickerController/TZImagePickerController.m
+4
-5
No files found.
TZImagePickerController.xcodeproj/project.pbxproj
View file @
e7b60ddf
...
...
@@ -324,7 +324,7 @@
TargetAttributes
=
{
900E657B1C2BB8D5003D9A9E
=
{
CreatedOnToolsVersion
=
7.2
;
DevelopmentTeam
=
T86X98NCU2
;
DevelopmentTeam
=
UNNVERQ745
;
ProvisioningStyle
=
Automatic
;
};
900E65941C2BB8D5003D9A9E
=
{
...
...
@@ -551,7 +551,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
DEVELOPMENT_TEAM
=
T86X98NCU2
;
DEVELOPMENT_TEAM
=
UNNVERQ745
;
FRAMEWORK_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(PROJECT_DIR)/TZImagePickerController"
,
...
...
@@ -572,7 +572,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
DEVELOPMENT_TEAM
=
T86X98NCU2
;
DEVELOPMENT_TEAM
=
UNNVERQ745
;
FRAMEWORK_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(PROJECT_DIR)/TZImagePickerController"
,
...
...
TZImagePickerController/TZImagePickerController/TZImagePickerController.m
View file @
e7b60ddf
...
...
@@ -616,12 +616,11 @@
dispatch_async
(
dispatch_get_global_queue
(
0
,
0
),
^
{
TZImagePickerController
*
imagePickerVc
=
(
TZImagePickerController
*
)
self
.
navigationController
;
[[
TZImageManager
manager
]
getAllAlbums
:
imagePickerVc
.
allowPickingVideo
allowPickingImage
:
imagePickerVc
.
allowPickingImage
completion
:^
(
NSArray
<
TZAlbumModel
*>
*
models
)
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
_albumArr
=
[
NSMutableArray
arrayWithArray
:
models
];
for
(
TZAlbumModel
*
albumModel
in
_albumArr
)
{
albumModel
.
selectedModels
=
imagePickerVc
.
selectedModels
;
}
dispatch_async
(
dispatch_get_main_queue
(),
^
{
if
(
!
_tableView
)
{
_tableView
=
[[
UITableView
alloc
]
initWithFrame
:
CGRectZero
style
:
UITableViewStylePlain
];
_tableView
.
rowHeight
=
70
;
...
...
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