最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[已解决]swift添加页面底部的工具栏

Swift crifan 3040浏览 0评论

swift中,需要添加页面底部的工具栏

搜:

swift view controller add toolbar

参考:
Swift Swift: Using The Navigation Bar Title and Back button. | Making App Pie
Show and Hide Bottom Toolbar in Swift – Xcode 6 iOS 8 Tutorial – YouTube
ios – How to add a toolbar to the bottom of a UITableViewController in Storyboards? – Stack Overflow
        print("self.navigationController=\(self.navigationController)") //self.navigationController=Optional(<UINavigationController: 0x7fc044167800>)
        self.navigationController?.setToolbarHidden(false, animated: true)

效果:

view bottom show tabbar

 

转载请注明:在路上 » [已解决]swift添加页面底部的工具栏

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
85 queries in 0.179 seconds, using 22.11MB memory