diff --git a/iphone/Maps/Tourism/Presentation/Home/Screens/HomeViewController.swift b/iphone/Maps/Tourism/Presentation/Home/Screens/HomeViewController.swift index 7fd7154476..1dc625e594 100644 --- a/iphone/Maps/Tourism/Presentation/Home/Screens/HomeViewController.swift +++ b/iphone/Maps/Tourism/Presentation/Home/Screens/HomeViewController.swift @@ -2,9 +2,24 @@ import UIKit class HomeViewController: UIViewController { + private let label: UILabel = { + let label = UILabel() + label.text = "Hello, World!" + label.textAlignment = .center + label.translatesAutoresizingMaskIntoConstraints = false + return label + }() + override func viewDidLoad() { super.viewDidLoad() + view.backgroundColor = .white + + view.addSubview(label) + + NSLayoutConstraint.activate([ + label.centerXAnchor.constraint(equalTo: view.centerXAnchor), + label.centerYAnchor.constraint(equalTo: view.centerYAnchor) + ]) } - } diff --git a/iphone/Maps/Tourism/Presentation/Home/TourismMain.storyboard b/iphone/Maps/Tourism/Presentation/Home/TourismMain.storyboard index 3b04763d1c..2e4943a30c 100644 --- a/iphone/Maps/Tourism/Presentation/Home/TourismMain.storyboard +++ b/iphone/Maps/Tourism/Presentation/Home/TourismMain.storyboard @@ -17,8 +17,8 @@ -