Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
suyuexin
2015-12-01 16:55:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b22f0f17ce0c40f413acf7f8b155c1b682a557e7
b22f0f17
1 parent
eb61461d
Updated iPhone适配 (markdown)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
iPhone适配.md
iPhone适配.md
View file @
b22f0f1
## 适配的方案
**方法1:**
define LayOutForScaleIPhone6P(offsetForIPhone6) (
[
DeviceTools is5p5InchPhone
]
? (1.294
*
offsetForIPhone6) : LayOutForScale(offsetForIPhone6))
/#define LayOutForScaleIPhone6P(offsetForIPhone6) (
[
DeviceTools is5p5InchPhone
]
? (1.294
*
offsetForIPhone6) : LayOutForScale(offsetForIPhone6))/
**方法2:**
define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) (
[
DeviceTools is5p5InchPhone
]
? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))
/#define LayoutForFitIPhone6P(offsetForIPhone6,offsetForIPhone6P) (
[
DeviceTools is5p5InchPhone
]
? offsetForIPhone6P : LayOutForScale(offsetForIPhone6))/
...
...
Please
register
or
login
to post a comment