nicklockwood / CountryPicker

CountryPicker is a custom UIPickerView subclass that provides an iOS control allowing a user to select a country from a list. It can optionally display a flag next to each country name, and the library includes a set of 249 high-quality, public domain flag images from FAMFAMFAM (http://www.famfamfam.com/lab/icons/flags/) that have been painstakingly re-named by country code to work with the library.
http://charcoaldesign.co.uk/source/cocoa#countrypicker
Other
741 stars 153 forks source link

Start using bundle for images and all resources...(for cocoapods) #33

Closed luka1995 closed 8 years ago

luka1995 commented 8 years ago

http://stackoverflow.com/questions/25402782/cocoapodsresource-bundle-not-accessbile

nicklockwood commented 8 years ago

You should be able to load these on iOS using

<Image source={{uri: 'BundleName/ImageName.png}}/>

If that doesn't work, there is a PR waiting that adds explicit support for bundles.

astanton commented 8 years ago

How can I get the images to work with the CocoaPod? I just see the text in the UIPickerView.

nicklockwood commented 8 years ago

Is this fixed now?