Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding MBContactPicker to view programatically #77

Closed
SebastienMelki opened this issue May 20, 2014 · 2 comments
Closed

Adding MBContactPicker to view programatically #77

SebastienMelki opened this issue May 20, 2014 · 2 comments

Comments

@SebastienMelki
Copy link

Hey!
I've been using this tool on some projects and it's been really helpful, thank you Cittrus!
I am relatively new to objective-c and iOS development but I'm learning on the go.

On my new personal project one of my goals was to design the whole app programatically.
I've been trying to add an MBContactPicker to a view programatically (using initWithFrame: ) with no success.
On the example provided I see that it is placed using a storyboard, which is what I would like to avoid if possible.

Is there a special way to use this nice tool with only code?

Thanks!

@MattCBowman
Copy link
Member

Hey @SebastienMelki - I believe we've done this in the past, but we don't have any examples of it. We may add it to the sample project in the future, but it's probably not something we'll get around to in the near-term. If you want to zip up the project and email it to us, we can take a look. My email should be visible in my profile.

@jhurray
Copy link

jhurray commented Nov 26, 2014

I was able to add it using autolayout but its not working. the cursor is not showing up and the table view is not allowing selection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants