jackyshan

导航

 

解决方法

SEL selector = NSSelectorFromString(@"applySketchFilter:");
IMP imp = [FWApplyFilter methodForSelector:selector];
UIImage* (*func)(id, SEL, UIImage*) = (void *)imp;
UIImage *image = func([FWApplyFilter class], selector, self.currentImage);
posted on 2016-05-20 17:16  jackyshan  阅读(175)  评论(0编辑  收藏  举报