Turn off autolayout.
Use OS provided conversion function.