iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
pagict
V2EX  ›  iDev

这是什么控件

  •  
  •   pagict ·
    pagict · Feb 20, 2016 · 4164 views
    This topic created in 3753 days ago, the information mentioned may be changed or developed.
    请问,在渣浪微博 App 首页里,在 NavigationBar 里的这个是什么控件?
    选择时带有滑动效果的。似乎不是 segmented control 。顺便求问,在 navigationItem 中间加 button 实现下拉菜单,把这个 button 加入到 bar 的正确姿势是什么?是用 titleView 么?
    7 replies    2016-02-22 10:09:33 +08:00
    free9fw
        1
    free9fw  
       Feb 20, 2016   ❤️ 3
    拿走不谢 http://t.cn/RGX1Bor
    loveuqian
        2
    loveuqian  
       Feb 20, 2016
    下面那根线嘛?
    自己来一发高度 1 的 view
    然后监听按钮的点击进行 UIView 的啊你妹就可以啦

    self.navigationItem.titleView
    这个可以修改 bar 中间的 view
    HWSTh
        3
    HWSTh  
       Feb 20, 2016
    自定义的自己写就可以了,不过轮子也很多
    hqs123
        4
    hqs123  
       Feb 21, 2016
    1 楼答得很好.
    yuriko
        5
    yuriko  
       Feb 21, 2016
    把 Android 两种原生控件整合的结果……自己重新开发就是了
    pagict
        6
    pagict  
    OP
       Feb 22, 2016
    @yuriko 然而这是在 iOS 下啊。。。。
    yuriko
        7
    yuriko  
       Feb 22, 2016
    @pagict Android 都表示这东西还是得自己做了…… IOS 也逃不了……全屏之后自定义控件实现
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5772 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 01:44 · PVG 09:44 · LAX 18:44 · JFK 21:44
    ♥ Do have faith in what you're doing.