As the error says,you are providing more view controllers than needed. You should provide only 1 view controller in an array. Then use page view controller’s dataSource methods to provide before and after view controllers properly.
As the error says,you are providing more view controllers than needed. You should provide only 1 view controller in an array. Then use page view controller’s dataSource methods to provide before and after view controllers properly.