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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-14-2010, 06:27 AM   #1 (permalink)
Divine avenger
 
Johanovski's Avatar
 
Join Date: Nov 2009
Location: Vic, Catalunya (Spain)
Posts: 320
Default How to set iPhone background to black?

Hi there!

I'm working in an OpenGL project where I use a UIView as the drawing layer. The UIView fits the screen (that's 320 x 480 in portrait mode), but I want to simulate a trembling effect, so I've thought the best way is to move the whole UIView rather than shaking each OpenGL object independently. The effect is really great and it works perfectly, however under the UIView there is white color, so the effect isn't as good as it should be if the background was black... The UIView is black, of course, but then I move the UIView what I've seen under it is "nothing", so can I set "nothing"'s color to black?

Thanks in advance!
Johanovski is offline   Reply With Quote
Reply

Bookmarks

Tags
background, black, opengl, uiview

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,884
Threads: 89,229
Posts: 380,763
Top Poster: BrianSlick (7,129)
Welcome to our newest member, karlam963
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0