{"action":"created","issue":{"url":"https://api.github.com/repos/ChrisRockC/MyWiki/issues/86","repository_url":"https://api.github.com/repos/ChrisRockC/MyWiki","labels_url":"https://api.github.com/repos/ChrisRockC/MyWiki/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/ChrisRockC/MyWiki/issues/86/comments","events_url":"https://api.github.com/repos/ChrisRockC/MyWiki/issues/86/events","html_url":"https://github.com/ChrisRockC/MyWiki/issues/86","id":216672914,"number":86,"title":"iOS 8之后 复杂页面在也不用为行高苦恼了","user":{"login":"ChrisRockC","id":12052790,"avatar_url":"https://avatars1.githubusercontent.com/u/12052790?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisRockC","html_url":"https://github.com/ChrisRockC","followers_url":"https://api.github.com/users/ChrisRockC/followers","following_url":"https://api.github.com/users/ChrisRockC/following{/other_user}","gists_url":"https://api.github.com/users/ChrisRockC/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisRockC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisRockC/subscriptions","organizations_url":"https://api.github.com/users/ChrisRockC/orgs","repos_url":"https://api.github.com/users/ChrisRockC/repos","events_url":"https://api.github.com/users/ChrisRockC/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisRockC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-24T06:47:57Z","updated_at":"2017-05-05T02:24:28Z","closed_at":null,"body":"```\r\n    // 设置预估行高\r\n    self.tableView.estimatedRowHeight = 200;\r\n    // 设置行高自动计算\r\n    self.tableView.rowHeight = UITableViewAutomaticDimension;\r\n```\r\n\r\n关键就是对Cell设置约束的时候 上下左右都设置好就OK了  撑起来cell 就好了  太nice了"},"comment":{"url":"https://api.github.com/repos/ChrisRockC/MyWiki/issues/comments/299356355","html_url":"https://github.com/ChrisRockC/MyWiki/issues/86#issuecomment-299356355","issue_url":"https://api.github.com/repos/ChrisRockC/MyWiki/issues/86","id":299356355,"user":{"login":"ChrisRockC","id":12052790,"avatar_url":"https://avatars1.githubusercontent.com/u/12052790?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisRockC","html_url":"https://github.com/ChrisRockC","followers_url":"https://api.github.com/users/ChrisRockC/followers","following_url":"https://api.github.com/users/ChrisRockC/following{/other_user}","gists_url":"https://api.github.com/users/ChrisRockC/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisRockC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisRockC/subscriptions","organizations_url":"https://api.github.com/users/ChrisRockC/orgs","repos_url":"https://api.github.com/users/ChrisRockC/repos","events_url":"https://api.github.com/users/ChrisRockC/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisRockC/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T02:24:28Z","updated_at":"2017-05-05T02:24:28Z","body":"```\r\n  [_banner mas_makeConstraints:^(MASConstraintMaker *make) {\r\n        make.center.equalTo(self.contentView);\r\n        make.width.equalTo(@(width));\r\n        make.height.equalTo(@(height));\r\n        make.bottom.lessThanOrEqualTo(self.contentView).offset(-10);\r\n    }];\r\n``` \r\n>   居中效果"}}
{"actor":{"display_login":"ChrisRockC"}}