Force update UIView


hi,

in application have thread receives data tcp connection. manages outlets uitextview updating text. problem when thread modifies text of uitextview object, doesn't update screen. because thread doesn't return application run loop.
pseudo code


while(running){
nsstring *line = [self receive];
//console uitextview
console.text = line;
}



problem "console" object doesn't update :(
can ? "setneeddisplay" doesn't work too.

lot.

alvise
 

i asked on here similar question other day, no response. did(might not best way) start timer long process when it's done updates screen back.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Upgrade Eligibility?

need help with itunes 7.7

How to change Apple IDs on iPhones