Comments (5)
这个确定没有问题的,你看看是否没有引用正确?另外,还有新的解决方案链接,你可以参考
from ios-11-uinavigationitem-sxfixspace.
好了 item那个类别的方法用了没有什么作用
from ios-11-uinavigationitem-sxfixspace.
item那个类别 是方便使用customView创建item用的 这个demo中的方法就是通过修改customview的约束来修改偏移的,所以是有作用的 新的解决方案中的则是另一种方案 不依赖customView 那个方案中item的类别确实可以不需要,其兼容系统创建的各种方式
from ios-11-uinavigationitem-sxfixspace.
你如果使用的这个方案 请参考demo中的写法 其有一定的局限性 所以写法不能太随意
from ios-11-uinavigationitem-sxfixspace.
好的 谢谢指点
from ios-11-uinavigationitem-sxfixspace.
Related Issues (8)
- 中间标题栏的位置不对 HOT 1
- 有问题 HOT 2
- push到下一页再返回, barButtonItem会移位 HOT 1
- 自定义返回按钮 系统自动多了个返回按钮 这个什么原因啊 HOT 8
- 你的这个我放在一个文件夹内就运行出错 HOT 12
- 可以放两个按钮吗 HOT 5
- 点击响应区域查了16像素 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-11-uinavigationitem-sxfixspace.