Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. //Show HighLightView
  2. let highLightView = UIView(frame: CGRect(x: self.minXHighLightView!, y: 0, width: self.maxXHighLightView!-self.minXHighLightView!, height: self.soundWaveView.frame.height))
  3. highLightView.backgroundColor = UIColor(displayP3Red: 89/256, green: 206/256, blue: 249/256, alpha: 0.4)
  4. self.soundWaveView.addSubview(highLightView)
  5.  
  6. //Show HighLight Lable
  7. let highLightLabelCount = UILabel(frame: CGRect(x: 0, y: 0, width: 50, height: 50))
  8. highLightLabelCount.textColor = .black
  9. highLightLabelCount.font = UIFont(name: "Lato-Bold", size: 20)
  10. highLightView.addSubview(highLightLabelCount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement