Comments (1)
可以通过reloadChildControllers:childTitles来重定义pageTab,并且会保持原有索引,titles和vcs应数量一致,否则跟随最小数量;
如果使用同一个VC显示H5,显示上一页再显示下一页是必然的结果,因为VC从页面1到页面2的过程均暴露在外,可以使用WKWebView来创建多个VC,避免UIWebView的内存占用过高,如果还需要进一步减少VC数量,比如创建三个然后循环使用,就需要修改组件代码来支持不对等数量的动态添加;
至于加载卡的问题,如果是多个VC同时在初始化时加载,需要将加载资源放在pageTabViewDidEndChange中来操作,只加载当前展示的内容,但H5的加载卡顿问题较多,可检查单独加载H5是否卡顿,H5的加载还是比较消耗资源的,看H5的具体内容
from xxpagetabview.
Related Issues (8)
- 请问一下,这个分段控件可以放在导航栏上吗 HOT 3
- 有一个问题,子控制器push到下一个控制器的时候,push不了。 HOT 3
- 界面不加载 HOT 1
- 点击cell没有反应
- 追加
- 再次追加 HOT 3
- 报错 是我的使用方法有问题么 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xxpagetabview.