jasnig / ZJScrollPageView

网易新闻, 腾讯视频, 头条 等首页的滑块视图联动的效果OC版的简单方便的集成, 滑块 segmentVIew, scrollViewController(Providing an easy way to reach the effect that "the segment scrolls with the content")
MIT License
1.11k stars 197 forks source link

子视图生命周期问题 #67

Open zhangsGitHub opened 7 years ago

zhangsGitHub commented 7 years ago

使用ZJScrollPageView时,在子视图push到下级页面时,会再执行一次viewWillAppear,viewDidAppear(viewDidLoad除去)等子视图的生命周期。

lizheftd commented 7 years ago

请问你这个问题解决了么

WangFour commented 6 years ago

请问你解决廖吗,我也遇到廖,不知该怎么改

zhangsGitHub commented 6 years ago

我改用了WMPageController

在 2018年6月25日,下午4:42,王锶鹏 notifications@github.com 写道:

请问你解决廖吗,我也遇到廖,不知该怎么改

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jasnig/ZJScrollPageView/issues/67#issuecomment-399877250, or mute the thread https://github.com/notifications/unsubscribe-auth/AJyi4PvnND9Ba9fEuCuhF59TtYa-Baflks5uAKKIgaJpZM4QALZv.

alexsun commented 6 years ago

正好遇到这个问题,就修复了一下 https://github.com/jasnig/ZJScrollPageView/pull/72#issue-215156963

huohongxu commented 5 years ago

@alexsun 怎么修改的 修改的哪里 可以告知吗

alexsun commented 5 years ago

@huohongxu 这里 https://github.com/jasnig/ZJScrollPageView/pull/72/commits/5ece50cc361e5673e782e86c19124699ba2c5e33 可以看到修改的内容

sclcoder commented 4 years ago

我改用了WMPageController 在 2018年6月25日,下午4:42,王锶鹏 @.***> 写道: 请问你解决廖吗,我也遇到廖,不知该怎么改 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#67 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AJyi4PvnND9Ba9fEuCuhF59TtYa-Baflks5uAKKIgaJpZM4QALZv.

WMPageController的生命周期函数也有点问题。我找了好多这样的组件,多少都有点问题。作者也不维护了,我打算自己改改WMPageController。