{"action":"created","issue":{"url":"https://api.github.com/repos/wenzhaot/InstagramPhotoPicker/issues/13","labels_url":"https://api.github.com/repos/wenzhaot/InstagramPhotoPicker/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/wenzhaot/InstagramPhotoPicker/issues/13/comments","events_url":"https://api.github.com/repos/wenzhaot/InstagramPhotoPicker/issues/13/events","html_url":"https://github.com/wenzhaot/InstagramPhotoPicker/issues/13","id":71361729,"number":13,"title":"There will be a padding between topView and CollectionView ","user":{"login":"dreamgo","id":6346870,"avatar_url":"https://avatars.githubusercontent.com/u/6346870?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamgo","html_url":"https://github.com/dreamgo","followers_url":"https://api.github.com/users/dreamgo/followers","following_url":"https://api.github.com/users/dreamgo/following{/other_user}","gists_url":"https://api.github.com/users/dreamgo/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamgo/subscriptions","organizations_url":"https://api.github.com/users/dreamgo/orgs","repos_url":"https://api.github.com/users/dreamgo/repos","events_url":"https://api.github.com/users/dreamgo/events{/privacy}","received_events_url":"https://api.github.com/users/dreamgo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T18:17:57Z","updated_at":"2015-04-30T04:52:56Z","closed_at":null,"body":"I add a navigationController to the photoPickerView, However, there will a padding between topView and collectionView. I tried to adjust the collection position to fix it, however, when I scroll the view or tap dragbar. the padding will be return back. Any idea?\r\n\r\nThanks! \r\n![screen shot 2015-04-27 at 2 16 38 pm](https://cloud.githubusercontent.com/assets/6346870/7354246/1e2410ba-ece8-11e4-88b7-597561070cf4.png)\r\n "},"comment":{"url":"https://api.github.com/repos/wenzhaot/InstagramPhotoPicker/issues/comments/97661419","html_url":"https://github.com/wenzhaot/InstagramPhotoPicker/issues/13#issuecomment-97661419","issue_url":"https://api.github.com/repos/wenzhaot/InstagramPhotoPicker/issues/13","id":97661419,"user":{"login":"wenzhaot","id":1284393,"avatar_url":"https://avatars.githubusercontent.com/u/1284393?v=3","gravatar_id":"","url":"https://api.github.com/users/wenzhaot","html_url":"https://github.com/wenzhaot","followers_url":"https://api.github.com/users/wenzhaot/followers","following_url":"https://api.github.com/users/wenzhaot/following{/other_user}","gists_url":"https://api.github.com/users/wenzhaot/gists{/gist_id}","starred_url":"https://api.github.com/users/wenzhaot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenzhaot/subscriptions","organizations_url":"https://api.github.com/users/wenzhaot/orgs","repos_url":"https://api.github.com/users/wenzhaot/repos","events_url":"https://api.github.com/users/wenzhaot/events{/privacy}","received_events_url":"https://api.github.com/users/wenzhaot/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T04:52:56Z","updated_at":"2015-04-30T04:52:56Z","body":"```\r\n    TWPhotoPickerController *photoPicker = [[TWPhotoPickerController alloc] init];\r\n    \r\n    photoPicker.cropBlock = ^(UIImage *image) {\r\n        //do something\r\n        self.imageView.image = image;\r\n    };\r\n    \r\n    UINavigationController *navCon = [[UINavigationController alloc] initWithRootViewController:photoPicker];\r\n    [navCon setNavigationBarHidden:YES];\r\n    \r\n    [self presentViewController:navCon animated:YES completion:NULL];\r\n```"}}