FYI if your UICollectionView is the root view in your view controller's hierarchy and your view controller has automaticallyAdjustsScrollViewInsets set to YES (this is the default), then the contentInset should update automatically.  

However, the scrollview's contentInset is only automatically updated if your scrollview (or tableview/collectionview/webview btw) is the first view in their view controller's hierarchy.

I often add a UIImageView first in my hierarchy in order to have a background image. If you do this, you have to manually set the edge insets of the scrollview in viewDidLayoutSubviews:

- (void) viewDidLayoutSubviews {
    CGFloat top = self.topLayoutGuide.length;
    CGFloat bottom = self.bottomLayoutGuide.length;
    UIEdgeInsets newInsets = UIEdgeInsetsMake(top, 0, bottom, 0);
    self.collectionView.contentInset = newInsets;

}


iOS7: UICollectionView appearing under UINavigationBar
I'm building an Online Food Ordering website, where users can order food from their favourite restaurants. I'm confused in selecting the colors for the website, can any one help me with it. 


Which colors should I use for website background or should I put delicious food images?
Which colors to use for the text?


I have read some article that Red, Green, Oranges are good options for food related websites.
