12
Tôi dường như không thể tạo ra một NSScrollView với nền trong suốt. Có ai biết tại sao không? đây là mã của tôi:OSX/Cocoa - NSScrollView với nền trong suốt
NSScrollView *textScroll = [[NSScrollView alloc] initWithFrame:CGRectMake(212, 203, 381, 55)];
[textScroll setBackgroundColor:[NSColor clearColor]];
[view addSubview:textScroll];