c# - How to detect the Retina Display in MonoTouch -
just question want detect retina display in monotouch app. thanks.
there answers objectivec here's c# version:
bool retina = (uiscreen.mainscreen.scale > 1.0);
that work newer iphone , ipod touch , suspect (will know in less 2 weeks) new ipad.
jason's approach work , can attractive if need know several hardware related features (e.g. retina + camera).
Comments
Post a Comment