Closed bobsmells closed 10 years ago
Just to update this, I found some similar references to crashes with that method (drawWithRect...) and one person found that by increasing the font size a few points solved it. That didn't work for me, but what I did try was swapping out the 3rd party font which I had been using successfully inside the CMPopTipView for the system font, and this fixes it for me. The custom font was not that important to me and I'd rather have a working build.
So it's not likely anything to do with this component as such, but more likely an iOS 8 issue. Still, would be nice to find out what the problem is. If anyone is interested, the font that didn't play nice was this one: http://www.dafont.com/kg-be-still-know.font
I'm running the latest CMPopTipView (2.2) on iOS 8 (GM release) Simulator on OSX Yosemite with XCode 6. No matter which device I choose to simulate my app on, I crash on line 325 of CMPopTipView.m which is the invocation of NSString drawWithRect:options:attributes:context:
I'm not familiar with the pragma marks regarding deprecation, but then I certainly haven't set any flags on my app to ignore or not ignore deprecated methods. I'm only mentioning that because of the location of those relevant bits of code.
Any ideas what this might be?