11-25-2011 11:08 AM
Hi All,
Is there a way to check whether the target is simulator or real device?
Thanks
11-25-2011 11:09 AM
Is this the right answer?
11-25-2011 11:27 AM
11-25-2011 11:58 AM
Thanks Peter.
Loading Capabilities causes lots, which I would like to avoid. Is there another easy way to do it?
Thanks
11-25-2011 12:10 PM
11-25-2011 12:26 PM
:-) How bigger is the Capability? If we can avoid loading bigger class, should we do it?
11-25-2011 12:58 PM
I have no idea how big it is, but I try to avoid "premature optimization".
Given what that class does, it seems unlikely it's going to add much to your app, but if you're concerned, why not just try a build with and without it, and see for yourself?
11-25-2011 01:03 PM
Thanks Peter for your suggestion. I will do that for sure.
Go back to my original question, Is there another easy way to detect whether target is simulator or is a real device?
Thanks
11-28-2011 03:18 PM