2

The title says it all.

I have a generic function that is used to run actions on the UI thread. I want to simple invoke the action if I am already on the UI thread.

Is there a way to do this with MonoTouch?

Paul Knopf
  • 9,568
  • 23
  • 77
  • 142

1 Answers1

3

Yes it is NSThread.IsMain.

See this post.

Community
  • 1
  • 1
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182