Git Product home page Git Product logo

Comments (8)

krzyzanowskim avatar krzyzanowskim commented on September 26, 2024

Actually I don't know, there must be something that is not mentioned in readme but I really can't setup single view copying code from based on the sample. Maybe it's because UINavigationController, maybe it's something else.

That's what I've done: copy paste view controller, in interface builder addedd new view with class MBContactPicker. As a result nothing happened but the code is looks like working, datasource is read.

Please would you tell me how to setup this thing? thanks.

here is my setup http://cl.ly/image/1u1x340j021K
and video: http://cl.ly/2N0y3W1m0X1V

please find that this view is resized and not positioned right, this is why it's not visible.

from mbcontactpicker.

mhupman avatar mhupman commented on September 26, 2024

@krzak What version are you running?

from mbcontactpicker.

krzyzanowskim avatar krzyzanowskim commented on September 26, 2024

the current on master branch on github

from mbcontactpicker.

mhupman avatar mhupman commented on September 26, 2024

I'm not able to recreate this issue. Take a look at mhupman/mbcontactpickertest. I created a test project there using MBContactPicker 1.4 that has a MBContactPicker as the only view on a scene. I created the view controller implementation by copy/pasting the example code in the readme (I had to rename a few things, but no functional changes).

Are you sure that you don't have a constraint issue on your scene that is causing the contact picker to get sized to zero height?

from mbcontactpicker.

krzyzanowskim avatar krzyzanowskim commented on September 26, 2024

I removed all constraints just as in you example. Difference is that I'm using UINavigationView as container and unfortunatly I can reproduce the issue every time.

contact picker dont have zero height, it have some height but its like one line height with scrollable area inside. It fix the size right after I start typing in it.

from mbcontactpicker.

MattCBowman avatar MattCBowman commented on September 26, 2024

@krzak can you post a code sample so we can check it out?

from mbcontactpicker.

krzyzanowskim avatar krzyzanowskim commented on September 26, 2024

Please watch this video with setup and view controller source: http://cl.ly/3K3a3S150f0d

from mbcontactpicker.

krzyzanowskim avatar krzyzanowskim commented on September 26, 2024

ok, I finally isolated the case. Problem appear if View Controller that is in inside navigation controller have enabled "Extend Edges Under Top Bars".

Maybe you'll figure out how to add support for that option.

screen shot 2014-03-04 at 12 03 04

from mbcontactpicker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.