PickerView cell sectioner


  • QA Engineer

    I can't cover the PickerView cell. (line under text)

    Граница ячеек



  • You don't think you'll find a good solution, because in iOS7 and later. showsSelectionIndicator It doesn't work anymore.

    It's not beautiful.

    In method titleForRow or viewForRow Delegate to write

    [[pickerview.subviews objectAtIndex:1] setHidden:YES];
    [[pickerview.subviews objectAtIndex:2] setHidden:YES];
    

    Got it. https://stackoverflow.com/questions/20612279/ios7-uipickerview-how-to-hide-the-selection-indicator ♪




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2