Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用鼠标滚轮(或触控板滚动),我的自定义滚动视图滚动得太快,无法在应用程序中实现。有没有办法减少每次用户使用触控板或滚轮滚动时的滚动量?
你能覆盖吗
- (void)scrollWheel:(NSEvent *)theEvent
在您的自定义 NSScrollView 中更改滚动行为以响应鼠标滚轮?