JoeFryer / JDFTooltips

A simple library for showing tooltip-like popups on iOS
MIT License
189 stars 42 forks source link

Arrow appears behind the target view instead of over it. #10

Open neerav512 opened 8 years ago

neerav512 commented 8 years ago

I have added tooltips using sequential manager to my root view controller and the arrow of the tool tip actually appears behind the bar button or the target view in question. img_6937

ahmetselman commented 7 years ago

You are using navigationContorller. So you have to add tooltip on navigationcontorller's view. Like something;

JDFTooltipView *tooltip = [[JDFTooltipView alloc] initWithTargetView:someView hostView:self.navigationController.view.window tooltipText:@"Some text here." arrowDirection:JDFTooltipViewArrowDirectionUp width:260.0f];
[tooltip show];