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
[ZMJTipView showAnimated:YES forView:sourceView withinSuperview:sourceView.superview text:@"My Text To Be Highlighted" preferences:preferences delegate:nil];
Console prints a statement as "[ZMJTipView - Info] The arrow position you chose <2> could not be applied. Instead, position <1> has been applied! Please specify position <0> if you want ZMJTipView to choose a position for you."
I am not specifying arrow position on my own. Even I tried with preferences.drawing.arrowPosition = ZMJArrowPosition_any;, but could not get it working.
The text was updated successfully, but these errors were encountered:
Tried with new pod version but could not get it working. A new observation says that the problem arises when there are more than 1 ZMJTipView(s) present on a screen.
@fero2004 What I did to solve this problem is to show only one ZMJTipView at a time. I implemented delegate method tipViewDidDimiss. So that I could display the next tip.
TipView's layout gets interrupted for one of three tips shown on a screen.
My code looks like this:
ZMJPreferences *preferences = [ZMJPreferences new];
preferences.drawing.font = [_utils getThemeFontOfSize:17 andBold:NO orMedium:YES];
preferences.drawing.foregroundColor = [UIColor whiteColor];
preferences.drawing.backgroundColor = [_utils getThemeColor];
[ZMJTipView showAnimated:YES forView:sourceView withinSuperview:sourceView.superview text:@"My Text To Be Highlighted" preferences:preferences delegate:nil];
Console prints a statement as "
[ZMJTipView - Info] The arrow position you chose <2> could not be applied. Instead, position <1> has been applied! Please specify position <0> if you want ZMJTipView to choose a position for you.
"I am not specifying arrow position on my own. Even I tried with
preferences.drawing.arrowPosition = ZMJArrowPosition_any;
, but could not get it working.The text was updated successfully, but these errors were encountered: