why is .center only working in the y axis for me? : class ViewController: UIViewController {

    @IBOutlet var friendsButton: UIImageView! //Friends Button
    @IBOutlet var circleButton: UIImageView! //Circle Button
    @IBOutlet var profileButton: UIImageView! //Profile Button
    @IBOutlet var whiteBoxSelector: UIImageView! //White Box Selector
    
    override func viewDidLayoutSubviews() {
        whiteBoxSelector.center = self.friendsButton.center //line that doesn't seem to run properly
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}
Once i run this, my whiteBoxSelector moves to the friends button, but only in the y axis, and the x position seems to be 0. I havemt set any constrains for the white box