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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.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 09-10-2010, 08:33 AM   #1 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 247
c0der is on a distinguished road
Default Core Graphics painfully slow in iOS4!

In all my games, I set up an NSTimer that calls [self.view setNeedsDisplay] at a regular frequency. This of course calls DrawRect which I use to update the score, etc displayed on the screen. These routines use Core Graphics.

This has worked perfectly until iOS4. In the simulator, the animations by DrawRect are fast, but in an actual iOS4 device, they are painfully slow. I don't see this problem in earlier versions of iOS.

Has anyone else noticed this problem? I just updated to iOS4.1 and the problem persists.

Help!
c0der is offline   Reply With Quote
Old 09-10-2010, 11:38 AM   #2 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 247
c0der is on a distinguished road
Default

Somebody...anybody??? Surely I'm not alone with this one.
c0der is offline   Reply With Quote
Old 09-11-2010, 09:55 AM   #3 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 247
c0der is on a distinguished road
Default

I spent several hours last night trying different options, but it's still very slow. Any ideas why iOS4 is so much slower? Does anyone have a solution?
c0der is offline   Reply With Quote
Old 09-11-2010, 09:58 AM   #4 (permalink)
Banned
 
Join Date: Jul 2009
Posts: 576
Not_Appy_At_All is on a distinguished road
Default

Quote:
Originally Posted by c0der View Post
I spent several hours last night trying different options, but it's still very slow. Any ideas why iOS4 is so much slower? Does anyone have a solution?

I have the same problem in one of my apps. I was going to rewrite the code for the module in question, but now think based on what you posted, that it may be core graphics.
Not_Appy_At_All is offline   Reply With Quote
Old 09-11-2010, 03:31 PM   #5 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 247
c0der is on a distinguished road
Default

I just can't imagine why Apple would release an update to the iOS that is slower than the previous one.
c0der is offline   Reply With Quote
Reply

Bookmarks

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
» Online Users: 326
9 members and 317 guests
bignoggins, carlandrews, flamingliquid, hzwegjxg, ilmman, jenniead38, linkmx, stanny
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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