hi,
I just made uiview in one uiviewcontroller , and connect them well.
(IBOutlet is nil, but it is connected in storyboard)
and there is error when i get frame of that uiview.
@IBOutlet weak var homecv : UIView!
and
override func viewDidLoad() {
super.viewDidLoad()
print("home ", homecv.frame) -> here is error : fatal error: unexpectedly found nil while unwrapping an Optional value
}
Same result happend even in viewDidAppear ... I cleaned project.. it is same too..
Any idea for this ?😎