- 設置UIWebview返回頂部
// 用UIWebView加載網頁,有時候需要點擊一個按鈕,或者頁面的某個部位,使頁面自動滾動到頂部,但是UIWebView不像UIScrollView那麼方便。
//但同樣可以通過subview來操作
UIWebView *currentWebView;
if ([currentWebView subviews]) {
UIScrollView* scrollView = [[currentWebView subviews] objectAtIndex:0];
[scrollView setContentOffset:CGPointMake(0, 0) animated:YES];
}
WKWebView詳細使用
http://mp.weixin.qq.com/s/ZUOwl3DwIZPAZpX44h3Ugw
http://www.cnblogs.com/mddblog/p/5281748.html
- 一個包含知識點比較全面的博客
http://www.cnblogs.com/ygm900/p/3151691.html - 蒐集整理的項目源碼 第三方功能
http://blog.csdn.net/robinson_911/article/details/51956471 - 圖片資源引起的報錯
Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with exit code 1