Closed HackShitUp closed 7 years ago
Also, this is in the following function:
func viewControllerData() -> [UIViewController] { }
The UITableViewControllers DO return, but not the correct ones. I took another look and found out that it only fetches 7 view controllers? I suspect it might be because of the setupViewController function in EZSwipeController, but I'm not sure yet. Also, the sizing constraints are very off - the UINavigationBar is customized and initialized by the parent view controller and returned accordingly to the 7 different types of UITableViewControllers, but every time I swipe down to the next view controller, the height of the navigation bar is increased on its own. I can share some screenshots if you'd like.
bump because I need help
How do I return the correct view controllers? Here's my code that loops through the objects:
` // Loop through objects to determine which view controller to show for postObject in stackObjects {
Where postControllers, is an array that holds all the UIViewControllers. HOWEVER, even with the correct startingIndex, it doesn't load the correct UIViewController. How do I handle this correctly?