You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is you setup all the tutorial frames in viewDidLoad: when the views' frames are still invalid.
And you should replace your hardcoded frames because iPhone X has different statusbar height+navigationbar height (sum) value with something like the following: CGRect r = [self.navigationItem.rightBarButtonItem.customView convertRect:self.navigationItem.rightBarButtonItem.customView.frame toView:tView];
it works for custom bar button but shouldn't be called for example in viewDidAppear:
The text was updated successfully, but these errors were encountered:
The problem is you setup all the tutorial frames in
viewDidLoad:
when the views' frames are still invalid.And you should replace your hardcoded frames because iPhone X has different
statusbar height+navigationbar height
(sum) value with something like the following:CGRect r = [self.navigationItem.rightBarButtonItem.customView convertRect:self.navigationItem.rightBarButtonItem.customView.frame toView:tView];
it works for custom bar button but shouldn't be called for example in
viewDidAppear:
The text was updated successfully, but these errors were encountered: