Comments (8)
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.
@krzak What version are you running?
from mbcontactpicker.
the current on master branch on github
from mbcontactpicker.
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.
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.
@krzak can you post a code sample so we can check it out?
from mbcontactpicker.
Please watch this video with setup and view controller source: http://cl.ly/3K3a3S150f0d
from mbcontactpicker.
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.
from mbcontactpicker.
Related Issues (20)
- should let user to choose their preferred keyboard type
- shouldn't show searchtableview when there are no filtered contacts HOT 1
- entrytextcell disappears when typing long text in the textfield and moved to new line HOT 1
- Doesnt play nice when contained in a UINavigationController HOT 1
- Adding MBContactPicker to view programatically HOT 2
- How do filter on the "contactTitle" and also "contactSubtitle" HOT 1
- Adding MBContactPicker to tableviewcell HOT 1
- Selected Contacts
- TextField placeholder text is not showing
- iOS8 - Rotation Causes Wrong Offset in Picker
- iOS 8 Support HOT 1
- MBContactPicker should implement UITextInput protocol
- "Unknown type name UIImage" in xcode 6 when implementing model HOT 4
- didEnterCustomText delegate method never called. HOT 1
- Delegate method badly named and not present in protocol HOT 2
- set Propmpt text color
- Fails to compile with Xcode 7.1 HOT 1
- a
- UICollectionViewFlowLayout warning HOT 1
- Unknown type name 'UIImage'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbcontactpicker.