MugunthKumar/MKInfoPanelDemo — Issue #6: Manually hide panel
Author: abhim8
Created: 2011-12-30 02:13:08+00:00
State: open

First, this is an amazing piece of work, thanks for the share.

I want to manually show/ hide the panel depending on actions the user performs, which can't be measured with a time interval.

I can show the panel without an interval using the method

+ (MKInfoPanel *)showPanelInView:(UIView*)view type:(MKInfoPanelType)type title:(NSString *)title subtitle:(NSString *)subtitle;

but when i try to allocate the mkinfo panel to hide the panel using the - hidePanel method, it doesn't work.

MTInfoPanel *panel = [[MTInfoPanel alloc] init];

[panel hidePanel];

If you could guide me in the right direction, it would really help.