ios-在UITableViewCell上添加WebView并实现点击按钮折叠效果.zip

时间:2022-07-31 13:52:20
【文件属性】:

文件名称:ios-在UITableViewCell上添加WebView并实现点击按钮折叠效果.zip

文件大小:91KB

文件格式:ZIP

更新时间:2022-07-31 13:52:20

网页视图

实现在tableViewCell上添加的WebView 展示效果,有一个按钮可以将webView内容动态的改变,这个Demo仅仅起到抛砖引玉的效果,有一些细节没处理,比如,第一次加载内容显示的高度,我这里给的100定死了,项目中也可以这么干,但最好是通过计算要预先显示的高,还有在webView没有内容的情况下,也没有做默认展示的效果,有什么好的建议,欢迎在下面评论区留言,或者到我的博客(www.wufeiyue.com)


【文件预览】:
WebViewTest
----.DS_Store(6KB)
----Pods()
--------Manifest.lock(201B)
--------Target Support Files()
--------Headers()
--------Local Podspecs()
--------Pods.xcodeproj()
--------SnapKit()
----Podfile.lock(201B)
----WebViewTest.xcworkspace()
--------contents.xcworkspacedata(229B)
--------xcuserdata()
----Podfile(52B)
----WebViewTest()
--------ViewController.swift(4KB)
--------Info.plist(1KB)
--------AppDelegate.swift(2KB)
--------Base.lproj()
--------Assets.xcassets()
--------MainTableViewCell.swift(4KB)
----WebViewTest.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(15KB)

网友评论