Thanks to your example. but it is not work properly in iOS 10. especially height. please check and if I know how to change dynamically, I will try pull-request.