Skip to content

Layout Problem (Might be due to arrow position) #1

@YahyaBagia

Description

@YahyaBagia

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.

simulator screen shot - iphone se - 2018-02-25 at 10 18 17

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions