美文网首页iOSSwift学习GeekBand
Show and Hide Bottom Toolbar in

Show and Hide Bottom Toolbar in

作者: d30d9e0626b0 | 来源:发表于2015-08-12 20:47 被阅读147次

    视频地址https://www.youtube.com/embed/zlZLjQN-kTc

    Video Tutorial

    1. Add first View Controller Segue to new View Controller
    2. Add Bar Button Item on first View Controller and set target-action
    3. code in action:method add self.porformSegueWithIdentifier
    4. setToolbarHidden(_ hidden: Bool, animated animated: Bool)
    5. Or set in interface builder
    Show and Hide Bottom by codeShow and Hide Bottom by code
    Show and Hide Bottom set in interface builderShow and Hide Bottom set in interface builder

    Demo Project on GitHub

    More in Segue

    Simpler way:

    Adding a Segue Between Scenes in a Storyboard

    Another way:View Controller segue to View Controller,
    your can something more in target-action method.

    IOS7, Segue and storyboards - How to create without a button?

    相关文章

      网友评论

      本文标题:Show and Hide Bottom Toolbar in

      本文链接:https://www.haomeiwen.com/subject/rggiqttx.html