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
2dfc2bc9
Commit
2dfc2bc9
authored
Oct 14, 2017
by
汪洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配iOS 11,默认不使用self sizing
parent
df35b8c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
WMBaseListViewController.m
GMBase/Classes/WMBaseListViewController.m
+4
-1
No files found.
GMBase/Classes/WMBaseListViewController.m
View file @
2dfc2bc9
...
...
@@ -42,7 +42,10 @@
_table
.
rowHeight
=
_cellHeight
;
_table
.
delegate
=
self
;
_table
.
dataSource
=
self
;
_table
.
estimatedRowHeight
=
0
;
_table
.
estimatedSectionHeaderHeight
=
0
;
_table
.
estimatedSectionFooterHeight
=
0
;
// 如果_cellIdentifier 能转成一个UITableViewCell class,才去注册,否则会有crash发生
if
([
NSClassFromString
(
_cellIdentifier
)
isSubclassOfClass
:[
UITableViewCell
class
]])
{
[
_table
registerClass
:
NSClassFromString
(
_cellIdentifier
)
forCellReuseIdentifier
:
_cellIdentifier
];
...
...
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