http://blog.csdn.net/fzhlee/article/details/78455339
// 状态栏(statusbar)
CGRect StatusRect = [[UIApplication sharedApplication] statusBarFrame];
//标题栏
CGRect NavRect = self.navigationController.navigationBar.frame;
CGFloat h = StatusRect.size.height + NavRect.size.height - 64;
非滚动视图,y坐标加上h,即可