Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
YH_Explorer
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ZhangTonghai
7 years ago
Commit
13a02269270db0399f39d0256adf311f416677dd
1 parent
3c0c88ce
适配ios11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
YHExplorer.podspec
YHExplorer/YHExplorerViewController.m
YHExplorer.podspec
View file @
13a0226
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
"YHExplorer"
s
.
version
=
"1.1.
0-no-webp-beta
"
s
.
version
=
"1.1.
1-ios11
"
s
.
summary
=
"Integrated WebView with Cordova"
s
.
description
=
<<-
DESC
An WebView Kit integrated Cordova.
...
...
YHExplorer/YHExplorerViewController.m
View file @
13a0226
...
...
@@ -85,6 +85,11 @@ static float kprogressViewRadius = 2.0f;
if
(
self
.
progressBar
&&
!
self
.
progressBar
.
progressView
.
superview
)
{
[
self
.
currentNaviBar
addSubview
:
self
.
progressBar
.
progressView
];
}
#ifdef __IPHONE_11_0
if
(
@available
(
iOS
11
.
0
,
*
))
{
self
.
webView
.
scrollView
.
contentInsetAdjustmentBehavior
=
UIScrollViewContentInsetAdjustmentNever
;
}
#endif
}
-
(
BOOL
)
shouldAutorotateToInterfaceOrientation
:
(
UIInterfaceOrientation
)
interfaceOrientation
...
...
Please
register
or
login
to post a comment