在 iOS 网络视图上获取 padding/margin
Get a padding/margin on top iOS Webview
我有一个问题。我想要在 webview 上方的顶部填充或边距。
这是问题图片:
谁能帮我解决这个问题?
方式 1: Select ViewController 在 Storybord 中并自动取消选择 AdjustsScrollViewInsets。
方式二:在View Controller中写入
self.automaticallyAdjustsScrollViewInsets = NO ;
我有一个问题。我想要在 webview 上方的顶部填充或边距。 这是问题图片:
谁能帮我解决这个问题?
方式 1: Select ViewController 在 Storybord 中并自动取消选择 AdjustsScrollViewInsets。
方式二:在View Controller中写入
self.automaticallyAdjustsScrollViewInsets = NO ;