编辑代码

//函数11:图形化显示程序,支持Button,支持提示功能
    func displayArrayGraphButtonTips() {
        let myView1 = self.view.viewWithtag (2001) as! UIImageView
        let myView2 = self.view.viewWithtag (2002) as! UIImageView
        myView1.backgroundColor = .darkGray
        myView2.backgroundColor = .darkGray
        //支持View可以进行交互等操作
        myView1.isUsereInteraction
    }