I have setup my SKScene
the following way during initiation:
-(id)initWithSize:(CGSize)size {
if (self = [super initWithSize:size]) {
self.backgroundColor = [SKColor clearColor];
}
return self;
}
But somehow, what I am given is the following, which is black, not clear at all:
What am I missing here? How can I make this scene clear? I have already made the view holding the scene clear yet this is still what I get.
Update: I have also tried setting myView.opaque = NO;
but this did not help at all.
Setting it to clear is working correct, resulting in no colour, so black.
Set to any colour you like via
iOS 8 supports transparency:
After try many things, this worked for me