Monotouch Logging Options
When an iPhone or iPad app throws an err开发者_开发技巧or, what is the recommended way to get the data reported using Monotouch?
I simply use the Console.WriteLine, and a little wrapper around that, which helps me find the place and have some more information (like stacktrace and so on).
Console.WriteLine in MT writes to the device's console, so you can check it with the Organizer tool in XCode, and that really works well.
Am not sure if this is the recommended approach, but I use it, works well, and I personally can recommend it.
精彩评论