导航条上面添加imageView

blackarrow = UIImageView(frame: CGRect(x: kScreenWidth-35, y: 55, width: 20, height: 20))

blackarrow.image = UIImage(named: "jiantouup")

blackarrow.hidden = true

UIApplication.sharedApplication().keyWindow?.addSubview(blackarrow)

你可能感兴趣的:(导航条上面添加imageView)