toolBar = UIToolbar(frame: CGRectMake(0, self.view.frame.size.height - 46, self.view.frame.size.width, 46))

        toolBar.barStyle = UIBarStyle.Default

        toolBar.backgroundColor = UIColor.blackColor()

        toolBar.translucent = true

        toolBar.tintColor = UIColor.whiteColor()

        toolBar.userInteractionEnabled = true

        toolBar.sizeToFit()

        toolBar.delegate = self

創作者介紹
創作者 程式分享 的頭像
lrain5477

程式分享

lrain5477 發表在 痞客邦 留言(0) 人氣( 5 )