can CGMainDisplayID() be used with iOS?
<p>Hello I am new to developing applications in iPhone.
Can some one clarify my doubt whether CGMainDisplayID() be used to get the ID of main display in iPhone. CGMainDisplayID() belongs to mac references library and it is used to get the ID of main display in mac. will it work for iPhone as well in the same manner?</p>

<p>thanks in advance.</p>
