Fixed For Xcode4.6,customize abbreviation and token height #72
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
'edgesForExtendedLayout' is only available in iOS 7.0 or later. If you
compile 'TokenFieldExample' in iOS 6.1 SDK, you should get this error.
You can check for it at compile-time using something like:
if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
endif
I used property 'abbr' and category ' NSString+truncateToSize' if
users like customize their untoken text like 'Victoria Delgadillo... 4
联系人' rather than default '3 recipients'.
By default, the token field's height is fixed to 43 px.
In iPad,it is fine.In iPhone,it is too tall. Maybe we should shorten it
to 24 px so we can save more screen dimensions.
Specify the frame parameter in ' initWithFrame ' no help for it.I
refined the code so users can customize the token field's height.