I figured out exactly how to do it:
CGFloat maxPosition = scrollView.contentInset.top + scrollView.contentSize.height + scrollView.contentInset.bottom - scrollView.bounds.size.height;CGFloat currentPosition = scrollView.contentOffset.y + self.topLayoutGuide.length;if (currentPosition == maxPosition) { // you're at the bottom!}