Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-07-2010, 02:51 AM   #7 (permalink)
Syeda Aasma
Registered Member
 
Join Date: Jul 2009
Posts: 2
Default

Hi
I sorted out the problem
there are 2 alternative ways to do this
1. add new UIViewController subclasses to your EAGLView project
2. start a new view based application and then add all your EAGLview classes into it.
import ur EAGLView.h class into viewcontroller .h class and create an object of it. e.g.,
#import "EAGLView.h"
........
EAGLView *myGL;

then ue the following linnes of code to switch from your view controller to gl view

myGL = [[EAGLView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
myGL.animationInterval = 1.0 / 60.0;
[myGL startAnimation];
self.view = myGL;
[myGL release];

your IBOutlet will pass on the controll to the glview.
Syeda Aasma is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,745
Threads: 89,201
Posts: 380,567
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Ashleyk27
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:55 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.