Is MonoTouch can change UISwitch's label text?
As the title said, I was wonder if MonoTouch can change UISwitch's label text. Many topic talk about Object C's implements, and so开发者_开发技巧mething about "catagory", who can help me?
Here is a forum discussing this topic.
From what it looks like to me, you can look at the SubViews of the UISwitch and cast them to UILabel and modify the text. You can probably get more information in the MonoDevelop debugger to see which index to use.
Although, since these are private details about UISwitch, which Apple could change at any time and break your app--I don't know if I'd use it. Would you be better off putting a UILabel next to your UISwitch describing its functionality more clearly?
精彩评论