문제

I load a A-viewcontrollers view to other B-viewcntrollers sub view (UIview), A is having graphs with coreplot and initialize CPTgraph. When 'A' is initialize all the property of it like.:array or labels are being property of cptgraph instance so it is giving me error. Can anyone please help me with this. Thanks in advance.

error is:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString sizeWithTextStyle:]: unrecognized selector sent to instance 0x75b1e50'
도움이 되었습니까?

해결책

That's a category method added by Core Plot. Make sure your project uses both the -ObjC and -all_load linker flags. See http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications#Dependent_Project_Install for more information.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top