# sdk sample on iphone..

**URL:** <https://forums.imgtec.com/t/sdk-sample-on-iphone/736>\
**Category:** PowerVR Insider\
**Created:** [June 17, 2010, 12:15pm UTC](https://forums.imgtec.com/t/sdk-sample-on-iphone/736 "2010-06-17T12:15:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chlee1234-2](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@chlee1234-2](https://forums.imgtec.com/u/chlee1234-2)\
**Post date:** [June 17, 2010, 12:15pm UTC](https://forums.imgtec.com/t/sdk-sample-on-iphone/736/1 "2010-06-17T12:15:25Z")

</div>

I have tested the latest sdk training course code(introucingpod) but  
  
  
  
  
  
on the iphone simulator, everything is fine and showing on simulator,  
  
  
but on the real phone,  
  
  
  
  
  
1) glGetString(GL\_EXTENSIONS) returns NULL,  
  
  
&nbsp;&nbsp;&nbsp;&nbsp;in bool CPVRTgles2Ext::IsGLExtensionSupported(const char \*extension)  
  
  
&nbsp;&nbsp;&nbsp;&nbsp;in PVRTTextureLoadFromPointer  
  
  
  
  
  
  
  
  
2) if I let glGetString return true or false by force,  
  
  
&nbsp;&nbsp;&nbsp;&nbsp;then that application seems to be working on the iphone but just showing black screen…  
  
  
  
  
  
why and how?  
  
  
thanks

---

<div class="post-metadata">

**Author:** ![GordonMaclachlan](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@GordonMaclachlan](https://forums.imgtec.com/u/GordonMaclachlan)\
**Post date:** [June 17, 2010, 12:18pm UTC](https://forums.imgtec.com/t/sdk-sample-on-iphone/736/2 "2010-06-17T12:18:03Z")

</div>

Which iPhone model and which OS version are you using?

---

<div class="post-metadata">

**Author:** ![chlee1234-2](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@chlee1234-2](https://forums.imgtec.com/u/chlee1234-2)\
**Post date:** [June 17, 2010, 1:29pm UTC](https://forums.imgtec.com/t/sdk-sample-on-iphone/736/3 "2010-06-17T13:29:18Z")

</div>

model : ipod (a1288) 8GB, iphone sdk : 3.2, iphone device on xcode : 3.1.3, ipod sw version : 3.1.4

---

<div class="post-metadata">

**Author:** ![GordonMaclachlan](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@GordonMaclachlan](https://forums.imgtec.com/u/GordonMaclachlan)\
**Post date:** [June 17, 2010, 3:03pm UTC](https://forums.imgtec.com/t/sdk-sample-on-iphone/736/4 "2010-06-17T15:03:46Z")

</div>

The model of iPod that you’re using doesn’t support OpenGL ES 2.0, but will support OpenGL ES 1.1. The simulator supports both.

---

<div class="post-metadata">

**Author:** ![skyrick](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/skyrick/32/80_2.png) [@skyrick](https://forums.imgtec.com/u/skyrick)\
**Post date:** [June 29, 2010, 5:16pm UTC](https://forums.imgtec.com/t/sdk-sample-on-iphone/736/5 "2010-06-29T17:16:44Z")

</div>

@chlee1234 : what is your iphone SDK version ?

---

<div class="post-metadata">

**Author:** ![mkotliarov](https://avatars.discourse-cdn.com/v4/letter/m/e99b99/32.png) [@mkotliarov](https://forums.imgtec.com/u/mkotliarov)\
**Post date:** [February 2, 2012, 4:22pm UTC](https://forums.imgtec.com/t/sdk-sample-on-iphone/736/6 "2012-02-02T16:22:34Z")

</div>

chle1234 read this [http://www.opengl.org/discussion\_boards/ubbthreads.php?ubb=showflat&Number=146168](http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=146168)
