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 06-01-2009, 01:29 PM   #33 (permalink)
orange gold
Gold Orange
 
orange gold's Avatar
 
Join Date: Sep 2008
Posts: 679
Default

when you implement it thorugh a UIView and not a UIView controller its laggy and a pain in the butt... also apple denies it for being against the "contract"... i had this happen in my app... what i ended up doing was adding a subview (uiView) to my UIViewController and in that UIView it had my normal MainView app but when i pressed a button it set a variable, removed my UIView (my subview) and went back to the UIViewController, in the UIViewController it has an NSTimer and when that variable is set the NSTimer detects it then adds the camera, once the photo is taken it adds back my subview and saves the photo to a UIView

its confusing but not against apples contract

p.s. remember when adding a subview to a UIViewController you cannot say
[self addSubview:myUiView];
you have to say
[self.view addSubview:myUiView];

good luck
orange gold is offline   Reply With Quote
 

» Advertisements
» Online Users: 335
21 members and 314 guests
ADY, chemistry, Duncan C, fkmtc, HemiMG, her-ur, iDifferent, leahov, MarkC, marto1914, Meoz, nicko, padsoftware, Raffaello, sneaky, sojourner, syver, tathaastu, Thrillhouse1919, timle8n1, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,220
Posts: 380,714
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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