Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Show HighLightView
- let highLightView = UIView(frame: CGRect(x: self.minXHighLightView!, y: 0, width: self.maxXHighLightView!-self.minXHighLightView!, height: self.soundWaveView.frame.height))
- highLightView.backgroundColor = UIColor(displayP3Red: 89/256, green: 206/256, blue: 249/256, alpha: 0.4)
- self.soundWaveView.addSubview(highLightView)
- //Show HighLight Lable
- let highLightLabelCount = UILabel(frame: CGRect(x: 0, y: 0, width: 50, height: 50))
- highLightLabelCount.textColor = .black
- highLightLabelCount.font = UIFont(name: "Lato-Bold", size: 20)
- highLightView.addSubview(highLightLabelCount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement