在 xcode swift uiscrollview 高度目标方面需要帮助

need help in xcode swift uiscrollview height destination

如果我想向下滚动到某个页面并为它做一个书签部分怎么办,我的viewcontroller高度是5000,宽度是4.7屏幕的正常,但不知道如何滚动到我想要的特定页面和书签,以便用户可以更快地到达那里。求助!

我正在使用swift

    scrollView.contentOffset = CGPointMake(x, y)
scrollView.setContentOffset(CGPointMake(x, y), animated: true)

scrollView.scrollRectToVisible(CGRectMake(x, y, w, h), animated: true)