Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HungrySeacow

macrumors regular
Original poster
Just wondering if anyone knows how to do this or if they know an app that has accomplished this.

The only idea that I have at this point is to draw the WebView in a custom NSScrollView and have the WebView grow in height to match the page contents in order to hide its scroller and use the NSScrollView to clip the WebView. This would be dirty and I would think there has to be a better approach to this.
 
Not clear on what you are trying to accomplish. Web view is a subclass of NSView, so you can use notifications to discover changes in the bounds rectangle of the web view and adjust the scroll view's size as needed. You should study the structure of NSScrollView, how its subviews interact with each other, and how you can manage that interaction before going to the extreme of subclassing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.