{"action":"created","issue":{"url":"https://api.github.com/repos/huangjunsong/personalPage/issues/2","labels_url":"https://api.github.com/repos/huangjunsong/personalPage/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/huangjunsong/personalPage/issues/2/comments","events_url":"https://api.github.com/repos/huangjunsong/personalPage/issues/2/events","html_url":"https://github.com/huangjunsong/personalPage/issues/2","id":106505855,"number":2,"title":"我参考您的demo，发现我好像漏掉了某些设置，第一次滑动页面，上边的图片会直接弹到顶部","user":{"login":"jiazufei","id":3351691,"avatar_url":"https://avatars.githubusercontent.com/u/3351691?v=3","gravatar_id":"","url":"https://api.github.com/users/jiazufei","html_url":"https://github.com/jiazufei","followers_url":"https://api.github.com/users/jiazufei/followers","following_url":"https://api.github.com/users/jiazufei/following{/other_user}","gists_url":"https://api.github.com/users/jiazufei/gists{/gist_id}","starred_url":"https://api.github.com/users/jiazufei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiazufei/subscriptions","organizations_url":"https://api.github.com/users/jiazufei/orgs","repos_url":"https://api.github.com/users/jiazufei/repos","events_url":"https://api.github.com/users/jiazufei/events{/privacy}","received_events_url":"https://api.github.com/users/jiazufei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T08:17:26Z","updated_at":"2015-09-15T08:17:49Z","closed_at":null,"body":"约束用的Masonry，不知道约束有没有问题\r\n//表\r\n[table makeConstraints:^(MASConstraintMaker *make) {\r\n        make.edges.equalTo(self.view);  //上左下右约束贴self.view边\r\n    }];\r\n//图片\r\n[image makeConstraints:^(MASConstraintMaker *make) {\r\n        make.top.left.right.equalTo(self.view);  //上左右贴self.view边\r\n        make.height.equalTo(imageViewH); //高度 固定200\r\n    }];\r\n\r\n\r\n- (void)scrollViewDidScroll:(UIScrollView *)scrollView\r\n{\r\n    CGFloat offset = scrollView.contentOffset.y;\r\n    if (offset > -44) {\r\n        offset = -44;\r\n        \r\n    }\r\n    [self.titleBKG updateConstraints:^(MASConstraintMaker *make) {\r\n        make.height.equalTo(ABS(offset));\r\n    }];\r\n\r\n}\r\n\r\n![222](https://cloud.githubusercontent.com/assets/3351691/9871202/81d8cb64-5bc4-11e5-8380-74c158346c9f.gif)"},"comment":{"url":"https://api.github.com/repos/huangjunsong/personalPage/issues/comments/140317248","html_url":"https://github.com/huangjunsong/personalPage/issues/2#issuecomment-140317248","issue_url":"https://api.github.com/repos/huangjunsong/personalPage/issues/2","id":140317248,"user":{"login":"jiazufei","id":3351691,"avatar_url":"https://avatars.githubusercontent.com/u/3351691?v=3","gravatar_id":"","url":"https://api.github.com/users/jiazufei","html_url":"https://github.com/jiazufei","followers_url":"https://api.github.com/users/jiazufei/followers","following_url":"https://api.github.com/users/jiazufei/following{/other_user}","gists_url":"https://api.github.com/users/jiazufei/gists{/gist_id}","starred_url":"https://api.github.com/users/jiazufei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiazufei/subscriptions","organizations_url":"https://api.github.com/users/jiazufei/orgs","repos_url":"https://api.github.com/users/jiazufei/repos","events_url":"https://api.github.com/users/jiazufei/events{/privacy}","received_events_url":"https://api.github.com/users/jiazufei/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T08:17:49Z","updated_at":"2015-09-15T08:17:49Z","body":"![222](https://cloud.githubusercontent.com/assets/3351691/9871303/4b16369c-5bc5-11e5-9ad4-89df60f86f3c.gif)\r\n"}}