uitableview - Disable Predictive Keyboard Strip (iOS 8) for UITableViewCell -


this post explains how prevent new predictive text bar appearing during uitextfield input:

disable uitextfield predictive text

but have been unable adapt uitableviewcell. how access textfield of cell?

you can't set on uitableviewcell because cell not use keyboard. need set text fields subviews of cell.

edit post-comment

there many ways access field in uitableviewcell. i'm including 2 common.

  1. tag field in storyboard can write in viewforrowatindexpath:

    uitextfield *tf=(uitextfield *)[yourcell viewwithtag:yourtag]; 
  2. sub class uitableviewcell (i think results in cleanest code). can create iboutlet each sub view in directly in class of cell.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -