facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.
https://developers.facebook.com/docs/ios
Other
7.77k stars 3.53k forks source link

Not possible to add a UISearchBar to FBFriendPickerViewController #573

Closed Ricardo1980 closed 9 years ago

Ricardo1980 commented 10 years ago

Hello! Here I see a tutorial to add a search bar inside a FBFriendPickerViewController https://developers.facebook.com/docs/ios/ui-controls#cachepickers

The problem is that it uses presentViewController to add the search bar in the completition block. However, I have to use presentModallyFromViewController to do something when done is pressed. If I add the search bar after alloc/init the FBFriendPickerViewController, is not show properly (well, is not shown). Do you have any suggestion? Do you have any idea about what I have to do? Thanks in advance. BTW, I'm using iOS7.

chrisp-fb commented 9 years ago

Thanks for reaching out to us and sorry we have not responded sooner. There have been a number of updates to the SDK since you posted that may address the issue you opened. We are closing out issues on our GitHub repository so if you are still experiencing a problem, please file a a report to http://developers.facebook.com/bugs. If you have a fix you can also submit a pull request to the dev branch.