-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[announce] CocoaUI now supports screen rotation #30
Comments
好好!支持input的file控件吗? |
不支持. 因为iOS上面用file控件的场景非常罕见. |
兄弟,上传图片还罕见?修改头像啊,不都需要嘛。 |
能支持一下安卓的吗?这样一套ui适合双端了。兄弟你的QQ或微信是多少? |
@hepking 支持 position: absolute 倒是可以, zindex 我需要考虑一下(非常可能不做). 不过, 安卓我没时间, 而且我非常不熟悉安卓. 上传图片的话, 你给按钮加一个事件, 自己来处理吧. 框架可以做这个, 不过我看做这个功能点效果不大. |
我看了下css相关的资料,
我考虑了下, 如果要把 UIView 从 DOM 树中抽离出来, 技术难度比较大, 我暂时还没有想到好方法. 目前, 你可以通过 margin-top: -10 这样的属性来做一些叠加的布局, 例子可以参考: https://github.com/ideawu/cocoaui-demos/blob/master/CocoaUIDemo/buy.xml |
今天,跟一个做安卓的谈起你这个框架,其实说起原理来很简单,他说可以研究一下 |
@hepking 赞! 如果他有意愿, 可以把 cocoaui 移植到安卓. |
https://github.com/NightWhistler/HtmlSpanner 这里有个安卓的html渲染库 |
应该加上px,这个px可以当没有,这样也方便用html来预览和调整效果。比提供个ui预览app要好吧 |
你可以加, 但框架没必要强制. 见文档:
|
CocoaUI will handle screen rotation automatically.
CocoaUI 现在会自动处理屏幕翻转, 并刷新界面了.
The text was updated successfully, but these errors were encountered: