Finally figured out the max pixel height we can use which is 708 (768 - 20 for iOS bar - 40 for nav bar)