No way to show a tip in ObjC
In older versions I used the method showText to display the tip, now I can't seem to find the right method. I suspect it is not exposed at all.
The code below yields this error:
No visible @interface for 'PopTip' declares the selector 'showText:direction:maxWidth:inView:fromFrame:'
How it worked before:
[self.uiTipPopView showText:NSLocalizedString(@" Text", @"Tip") direction:AMPopTipDirectionUp maxWidth:200.0 inView:self.someView fromFrame:[self.someView someFrame]];
Any help is appreciated. Thanks!
Hi @Silviuvr The method is still there, there were just a few changes in the signature: https://github.com/andreamazz/AMPopTip/blob/main/Source/PopTip.swift#L604
so it's in instead of inView and from instead of fromFrame
@andreamazz
Thanks for the reply.
I saw the method but I think that one and also the enum regarding orientation should be mark with @objc otherwise it can't be used inside an ObjC file.