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
a1f5efac
Commit
a1f5efac
authored
Jul 25, 2017
by
yuzheng.tz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发布1.8.5版本 修复一些样式细节
parent
a1cc53d3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
9 deletions
+11
-9
TZImagePickerController/Info.plist
TZImagePickerController/Info.plist
+2
-2
TZImagePickerController/TZImagePickerController/TZImagePickerController.h
...troller/TZImagePickerController/TZImagePickerController.h
+1
-1
TZImagePickerController/TZImagePickerController/TZImagePickerController.m
...troller/TZImagePickerController/TZImagePickerController.m
+4
-5
TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m
...troller/TZImagePickerController/TZPhotoPickerController.m
+2
-1
TZImagePickerController/ViewController.m
TZImagePickerController/ViewController.m
+2
-0
No files found.
TZImagePickerController/Info.plist
View file @
a1f5efac
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<key>
CFBundlePackageType
</key>
<key>
CFBundlePackageType
</key>
<string>
APPL
</string>
<string>
APPL
</string>
<key>
CFBundleShortVersionString
</key>
<key>
CFBundleShortVersionString
</key>
<string>
1.8.
4
</string>
<string>
1.8.
5
</string>
<key>
CFBundleSignature
</key>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<key>
CFBundleVersion
</key>
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<string>
armv7
</string>
<string>
armv7
</string>
</array>
</array>
<key>
UIStatusBarHidden
</key>
<key>
UIStatusBarHidden
</key>
<
fals
e/>
<
tru
e/>
<key>
UISupportedInterfaceOrientations
</key>
<key>
UISupportedInterfaceOrientations
</key>
<array>
<array>
<string>
UIInterfaceOrientationPortrait
</string>
<string>
UIInterfaceOrientationPortrait
</string>
...
...
TZImagePickerController/TZImagePickerController/TZImagePickerController.h
View file @
a1f5efac
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
//
//
// Created by 谭真 on 15/12/24.
// Created by 谭真 on 15/12/24.
// Copyright © 2015年 谭真. All rights reserved.
// Copyright © 2015年 谭真. All rights reserved.
// version 1.8.
4 - 2017.07.22
// version 1.8.
5 - 2017.07.25
// 更多信息,请前往项目的github地址:https://github.com/banchichen/TZImagePickerController
// 更多信息,请前往项目的github地址:https://github.com/banchichen/TZImagePickerController
/*
/*
...
...
TZImagePickerController/TZImagePickerController/TZImagePickerController.m
View file @
a1f5efac
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
//
//
// Created by 谭真 on 15/12/24.
// Created by 谭真 on 15/12/24.
// Copyright © 2015年 谭真. All rights reserved.
// Copyright © 2015年 谭真. All rights reserved.
// version 1.8.
4 - 2017.07.22
// version 1.8.
5 - 2017.07.25
// 更多信息,请前往项目的github地址:https://github.com/banchichen/TZImagePickerController
// 更多信息,请前往项目的github地址:https://github.com/banchichen/TZImagePickerController
#import "TZImagePickerController.h"
#import "TZImagePickerController.h"
...
@@ -639,14 +639,13 @@
...
@@ -639,14 +639,13 @@
CGFloat
top
=
0
;
CGFloat
top
=
0
;
CGFloat
tableViewHeight
=
0
;
CGFloat
tableViewHeight
=
0
;
CGFloat
naviBarHeight
=
self
.
navigationController
.
navigationBar
.
tz_height
;
CGFloat
naviBarHeight
=
self
.
navigationController
.
navigationBar
.
tz_height
;
BOOL
isStatusBarHidden
=
[
UIApplication
sharedApplication
].
isStatusBarHidden
;
if
(
self
.
navigationController
.
navigationBar
.
isTranslucent
)
{
if
(
self
.
navigationController
.
navigationBar
.
isTranslucent
)
{
top
=
naviBarHeight
;
top
=
naviBarHeight
;
if
(
iOS7Later
&&
!
TZ_isGlobalHideStatusBar
)
top
+=
20
;
if
(
iOS7Later
&&
!
isStatusBarHidden
)
top
+=
20
;
tableViewHeight
=
self
.
view
.
tz_height
-
top
;
tableViewHeight
=
self
.
view
.
tz_height
-
top
;
}
else
{
}
else
{
CGFloat
navigationHeight
=
naviBarHeight
;
tableViewHeight
=
self
.
view
.
tz_height
;
if
(
iOS7Later
&&
!
TZ_isGlobalHideStatusBar
)
navigationHeight
+=
20
;
tableViewHeight
=
self
.
view
.
tz_height
-
navigationHeight
;
}
}
_tableView
.
frame
=
CGRectMake
(
0
,
top
,
self
.
view
.
tz_width
,
tableViewHeight
);
_tableView
.
frame
=
CGRectMake
(
0
,
top
,
self
.
view
.
tz_width
,
tableViewHeight
);
}
}
...
...
TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m
View file @
a1f5efac
...
@@ -258,9 +258,10 @@ static CGFloat itemMargin = 5;
...
@@ -258,9 +258,10 @@ static CGFloat itemMargin = 5;
CGFloat
top
=
0
;
CGFloat
top
=
0
;
CGFloat
collectionViewHeight
=
0
;
CGFloat
collectionViewHeight
=
0
;
CGFloat
naviBarHeight
=
self
.
navigationController
.
navigationBar
.
tz_height
;
CGFloat
naviBarHeight
=
self
.
navigationController
.
navigationBar
.
tz_height
;
BOOL
isStatusBarHidden
=
[
UIApplication
sharedApplication
].
isStatusBarHidden
;
if
(
self
.
navigationController
.
navigationBar
.
isTranslucent
)
{
if
(
self
.
navigationController
.
navigationBar
.
isTranslucent
)
{
top
=
naviBarHeight
;
top
=
naviBarHeight
;
if
(
iOS7Later
&&
!
TZ_isGlobalHideStatusBar
)
top
+=
20
;
if
(
iOS7Later
&&
!
isStatusBarHidden
)
top
+=
20
;
collectionViewHeight
=
tzImagePickerVc
.
showSelectBtn
?
self
.
view
.
tz_height
-
50
-
top
:
self
.
view
.
tz_height
-
top
;;
collectionViewHeight
=
tzImagePickerVc
.
showSelectBtn
?
self
.
view
.
tz_height
-
50
-
top
:
self
.
view
.
tz_height
-
top
;;
}
else
{
}
else
{
collectionViewHeight
=
tzImagePickerVc
.
showSelectBtn
?
self
.
view
.
tz_height
-
50
:
self
.
view
.
tz_height
;
collectionViewHeight
=
tzImagePickerVc
.
showSelectBtn
?
self
.
view
.
tz_height
-
50
:
self
.
view
.
tz_height
;
...
...
TZImagePickerController/ViewController.m
View file @
a1f5efac
...
@@ -79,6 +79,8 @@
...
@@ -79,6 +79,8 @@
_selectedPhotos
=
[
NSMutableArray
array
];
_selectedPhotos
=
[
NSMutableArray
array
];
_selectedAssets
=
[
NSMutableArray
array
];
_selectedAssets
=
[
NSMutableArray
array
];
[
self
configCollectionView
];
[
self
configCollectionView
];
[
UIApplication
sharedApplication
].
statusBarHidden
=
NO
;
}
}
-
(
BOOL
)
prefersStatusBarHidden
{
-
(
BOOL
)
prefersStatusBarHidden
{
...
...
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