Converting queryTextField frame to contextController view

When using i.e. in UITableViewController you need to convert textField frame, in normal view controller will work as before