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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -