{"action":"created","issue":{"url":"https://api.github.com/repos/wangmchn/WMPageController/issues/446","repository_url":"https://api.github.com/repos/wangmchn/WMPageController","labels_url":"https://api.github.com/repos/wangmchn/WMPageController/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/wangmchn/WMPageController/issues/446/comments","events_url":"https://api.github.com/repos/wangmchn/WMPageController/issues/446/events","html_url":"https://github.com/wangmchn/WMPageController/issues/446","id":286173799,"number":446,"title":"WMStickyPageViewController 添加menuView 分割线问题","user":{"login":"Connerli","id":16755393,"avatar_url":"https://avatars3.githubusercontent.com/u/16755393?v=4","gravatar_id":"","url":"https://api.github.com/users/Connerli","html_url":"https://github.com/Connerli","followers_url":"https://api.github.com/users/Connerli/followers","following_url":"https://api.github.com/users/Connerli/following{/other_user}","gists_url":"https://api.github.com/users/Connerli/gists{/gist_id}","starred_url":"https://api.github.com/users/Connerli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connerli/subscriptions","organizations_url":"https://api.github.com/users/Connerli/orgs","repos_url":"https://api.github.com/users/Connerli/repos","events_url":"https://api.github.com/users/Connerli/events{/privacy}","received_events_url":"https://api.github.com/users/Connerli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-05T02:29:17Z","updated_at":"2018-02-01T10:21:01Z","closed_at":null,"author_association":"NONE","body":"WMStickyPageViewController 想要给menuView 添加分割线，但是viewDidLoad时候获取menuView 为nil，在什么时机获取menuView，才可以添加分割线呢？"},"comment":{"url":"https://api.github.com/repos/wangmchn/WMPageController/issues/comments/362222022","html_url":"https://github.com/wangmchn/WMPageController/issues/446#issuecomment-362222022","issue_url":"https://api.github.com/repos/wangmchn/WMPageController/issues/446","id":362222022,"user":{"login":"Connerli","id":16755393,"avatar_url":"https://avatars3.githubusercontent.com/u/16755393?v=4","gravatar_id":"","url":"https://api.github.com/users/Connerli","html_url":"https://github.com/Connerli","followers_url":"https://api.github.com/users/Connerli/followers","following_url":"https://api.github.com/users/Connerli/following{/other_user}","gists_url":"https://api.github.com/users/Connerli/gists{/gist_id}","starred_url":"https://api.github.com/users/Connerli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Connerli/subscriptions","organizations_url":"https://api.github.com/users/Connerli/orgs","repos_url":"https://api.github.com/users/Connerli/repos","events_url":"https://api.github.com/users/Connerli/events{/privacy}","received_events_url":"https://api.github.com/users/Connerli/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T10:21:01Z","updated_at":"2018-02-01T10:21:01Z","author_association":"NONE","body":"@diaotongt 是应该在这个时候控制是否添加分割线。但是改源码不太好，只能等作者更新源码。\r\n![image](https://user-images.githubusercontent.com/16755393/35673313-26ec161e-077c-11e8-8742-ce42dd103224.png)\r\n我找到问题原因了，获取menuView 为nil，是因为viewDidLoad这里有个return 操作。所以没有调用wm_addMenuView，所以只有wm_resetMenuView 时候menuView 才被创建了。后期还是等作者添加了分割线状态控制，应该问题就解决了。"}}
{"actor":{"display_login":"Connerli"}}