Closed iHamzaaK closed 7 years ago
Did you read the README file? The documentation is all here
As for header and footer view, those will not be visible when the empty view is present and that is the intended behavior. If you want me to take a closer look then please attach an example project.
@kevinonik, I've had more time to look at this issue and see what you mean. I originally thought you were talking about a default nav bar and this is working fine for that. However any custom views will be covered by the empty state, BUT in version 0.5.0 (out now) you can be notified when the empty state view is presented, in this method you could then bring the subviews to the front.
Example:
// Inside your view controller, which conforms to UIEmptyStateDelegate
@IBOutlet var customNavBar: UIView!
func emptyStateViewDidShow(view: UIView) {
// The view has been shown, we can now bring our custom nav view to the front
self.view.bringSubview(toFront: customNavBar)
}
Can you please make a proper documentation of all the features. Secondly the size of empty state is filled to the screen. I have my custom header and footerView which are not working since emptystate is placed on top of it. Can you tell me how to make the emptyStateView fit to the tableView.