24846

UITableView cell Contents are disappearing and overlapping when scrolled in UITableViewcell?

Question:

I have a UITableView with custom cells,those cells contain some textFields,segmented index and all.Once i entered the data in particular cell textfield and segmented index after that i scrolled the tableview data contents disappears and overlapping.Can anyone tell me how to resolve the issue and how should i code.

Answer1:

Use IBOutlet in UITableViewCell because if you create segmented control,textfield as subviews after scrolling down they will be added as subviews every time you Scroll.

Recommend

  • UIScrollView not scrolling programmatically in iOS 6 & 7 both
  • for loop iteration in django
  • SpriteKit screenshot of view off screen
  • php: best way to validate POST
  • Client server multithread Socket
  • UITableView cell goes blank when scrolling
  • TableView scroll underlying top bar
  • Creating a checkmark inside a Pickerview [duplicate]
  • WCF Service Application returns 404 using WebGet
  • Determining if a string has been entered with a leading single quote
  • Type mismatch: cannot convert from Connection to Connection
  • Drag and Drop for imageview not working
  • Protecting critical code from being called again
  • Why does Apple use assign rather than weak to store a delegate?
  • UICollectionView in UITableview - Get tag of tapped UICollectionView
  • WP7 difficulties binding data to listbox itemssource - won't refresh
  • CRASH: *** -[__NSArrayM objectAtIndex:]: index 4294967295 beyond bounds [0 .. 9]
  • Ruby 1.8.6 Array#uniq not removing duplicate hashes
  • xtable - background colour of added rows
  • cell spacing in div table
  • Configure Spring's MappingJacksonHttpMessageConverter
  • AppleScript : find open tab in safari by name and open it
  • Center align outputs in ipython notebook
  • Position: fixed nav does not stay fixed
  • Excel's Macro-Recorder usage
  • how to save the state in userdefaults of accessory checkmark-iphone
  • custom UITableViewCell with image for highlighting
  • C++ Partial template specialization - design simplification
  • NHibernate Validation Localization with S#arp Architecture
  • Adding a button at the bottom of a table view
  • Bug in WPF DataGrid
  • Excel - Autoshape get it's name from cell (value)
  • Sending data from AppleScript to FileMaker records
  • vba code to select only visible cells in specific column except heading
  • Redux, normalised entities and lodash merge
  • how does django model after text[] in postgresql [duplicate]
  • embed rChart in Markdown
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • How can I use `wmic` in a Windows PE script?
  • Unable to use reactive element in my shiny app