If I create a rectangular object for example like this:

```
square = UIView(frame: CGRect(x: 100, y: 100, width: 300, height: 100))
square.backgroundColor = UIColor.redColor()
view.addSubview(square)

```

How to position it, that it always be centered on all devices?