ИС
У меня вопрос по xcode13. Как для Image View задать позиционирование. В учебнике по которому прохожу обучение это делается кнопкой "Vary for traits", но в 13 версии её не нашёл.
Size: a a a
ИС
ИС
ИС
ПЧ
В
ПЧ
ПЧ
AC
ИС
G
P
t
UIKit
class ProfileViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let allViewsInXibArray = Bundle.main.loadNibNamed("ProfileView", owner: self, options: nil)
let profileView = allViewsInXibArray?.first as! ProfileView
profileView.frame = self.view.bounds
self.view.addSubview(ProfileView)
}
} ''' но в строчке self.view.addSubview(ProfileView) пишет ошибку Cannot convert value of type 'ProfileView.Type' to expected argument type 'UIView'. подскажите пожалуйста в чем может быть дело?ИС