0
如何擺脫我的UIImage周圍的黑色? (在下面鏈路示出)如何擺脫我的UIImage周圍的黑色?
UIView *myView = [[[UIView alloc] init] autorelease];
[myView setBackgroundColor:[UIColor clearColor]];
CCUIViewWrapper *wrapper = [CCUIViewWrapper wrapperForUIView:myView];
UIColor *background = [UIColor colorWithPatternImage:[UIImage imageNamed:@"alert_background.png"]];
myView.backgroundColor = background;
wrapper.contentSize = CGSizeMake(293,180);
wrapper.position = ccp(-90,190);
[wrapper setRotation:90.0];
[self addChild:wrapper];
http://img857.imageshack.us/i/screenshot20110312at153.png/
我試過你說過的話,但沒有什麼區別。 – litterbugkid 2011-03-12 17:24:10
如果有人可以幫助,我會很感激。 – litterbugkid 2011-03-13 09:05:06