How to create a view controller within iMessage App in expanded mode

I have been playing with a custom iMessage app and I am trying to add a CNContactPickerViewController as a view in my app. For some reason when the controller comes up in expanded mode, the search bar and top part of controller is hidden behind the iMessage Nav bar. How can i constrain the controller properly so that the top of CNContactPickerViewController starts at the bottom of Nav Bar?