I added a progress bar to my screen and have currently placed it at the center of my screen. Instead, I want it to be centered horizontally in my container, but at the bottom of the screen. (If I was writing with CGPoint, I would make it say y: self.frame.midY-250). How do I edit the third line to make it center x, but change its y-position?
func addControls() {
progressView = UIProgressView(progressViewStyle:
UIProgressViewStyle.Default)
progressView?.center = self.view.center
view.addSubview(progressView!)
}