Hi, Anything that touches UIKit or other GUI related frameworks/API should run on the main thread.
You can read more about the topic here: http://docs.xamarin.com/ios/advanced_topics/threading I hope this helps, Rolf On Mon, Nov 7, 2011 at 11:16 AM, Morpheusse <[email protected]> wrote: > Hello, Thanks for the answer ;) > > I implement your code and its work but i can't assign data on UIlabel for > example. I don't know why but the program only show the writeline code. > > Exemple : > > XmlNode titlenode = ItemNode.SelectSingleNode("title"); > => Work > XmlNode urlnode = ItemNode.SelectSingleNode("url"); => > Work > Panneau_2.Text = titlenode.InnerText; > => Don't Work > Panneau_image_2.Image = UIImage.FromFile(urlnode.InnerText); => Don't > Work > Console.WriteLine(urlnode.InnerText + " = " + titlenode.InnerText); => > Work > > I have no error / warning on the code ... > > I search for the problem and i think i have to use BackgroundWorker ... > Someone can help me ? > > Thanks ! > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Get-Data-automatically-tp3936707p3998090.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
