Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMBase
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMBase
Commits
4550197e
Commit
4550197e
authored
Nov 21, 2017
by
汪洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iphonex适配
parent
7f6082b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
WMBaseListViewController.m
GMBase/Classes/WMBaseListViewController.m
+3
-5
No files found.
GMBase/Classes/WMBaseListViewController.m
View file @
4550197e
...
@@ -52,12 +52,10 @@
...
@@ -52,12 +52,10 @@
if
([
NSClassFromString
(
_cellIdentifier
)
isSubclassOfClass
:[
UITableViewCell
class
]])
{
if
([
NSClassFromString
(
_cellIdentifier
)
isSubclassOfClass
:[
UITableViewCell
class
]])
{
[
_table
registerClass
:
NSClassFromString
(
_cellIdentifier
)
forCellReuseIdentifier
:
_cellIdentifier
];
[
_table
registerClass
:
NSClassFromString
(
_cellIdentifier
)
forCellReuseIdentifier
:
_cellIdentifier
];
}
}
_table
.
backgroundColor
=
[
UIColor
clearColor
];
_table
.
backgroundColor
=
[
UIColor
clearColor
];
if
(
@available
(
iOS
11
.
0
,
*
))
{
// if(@available(iOS 11.0, *)) {
_table
.
contentInsetAdjustmentBehavior
=
UIScrollViewContentInsetAdjustmentNever
;
// _table.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}
// }
[
self
.
view
addSubview
:
_table
];
[
self
.
view
addSubview
:
_table
];
[
_table
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
[
_table
mas_makeConstraints
:
^
(
MASConstraintMaker
*
make
)
{
make
.
left
.
equalTo
(
self
.
view
.
mas_left
);
make
.
left
.
equalTo
(
self
.
view
.
mas_left
);
...
...
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