Search code examples
iossqliteuipickerview

Load data in UIpickerview from database


Am new to iphone development. Now,i want to know about how to load data in UIpickerview from database. Thanks in advance


Solution

  • First Fetch the data from database for a particular field for eg. country make a NSArray form that data and load that NSArray to UIPickerView.Use that array in UIPickerView Delegate and Datasource methods.