8
我想呈现一个UIView到CGContextRef如何呈现的UIView成CGContext上
-(void)methodName:(CGContextRef)ctx {
UIView *someView = [[UIView alloc] init];
MagicalFunction(ctx, someView);
}
所以,这里的MagicalFunction应该呈现的UIView(可能是其层)为当前上下文。
我该怎么做?
在此先感谢!
谢谢!但是这些观点是颠倒的!有什么建议么? – SPatil 2011-02-19 06:56:45