ios - Why the UICollectionViewFlowLayout influnences where the new item was created?

i foundthe UICollectionViewFlowLayout influnences where the new item was created but i dont't know whyIt's my first time to use UICollectionView,and something i can't firgue out happened.Here are my code,and it's expected to show a row of 10 buttons.#import "ViewController.h"@interface ViewController ()@end@implementation ViewController-(NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{ return 10;}-(NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView{ return ...Read more