[iPhone] How to find root cause for a display issue
[iPhone] How to find root cause for a display issue
- Subject: [iPhone] How to find root cause for a display issue
- From: Tino Rachui <email@hidden>
- Date: Wed, 31 Mar 2010 10:43:34 +0200
I've got a nasty display problem with my iPhone app that can only be
observed on the real device but never in the simulator.
It's a bit difficult to explain what I'm trying to do in detail
however I'll try my best. In my app I'm trying to mimic Safaries
effect when switching to the "open pages" view (smoothly minimizing
the current page while sliding it to the back). I do this by replacing
the current view (I call it the main view) with a view (I call it
design view) which consists of multiple CA layer. The initial top
layer (which I call fake layer) contains a static image of the main
view. I minimize this fake layer animated to it's final size and then
replace it by a scroll layer sitting below it.
The problem is that sometimes (not very often yet disturbing) I see a
flash which looks like any of my layers or whatever will be redrawn
before or while I'm replacing the main view with the design view and
this is rather ugly. In all other cases it looks very smooth and the
replacement of the main view is not observable.
I have unsuccessfully experimented quite a lot already in order to
find the root cause of the problem. Has anybody a good idea what could
cause the problem or how to diagnose problems of this kind.
I noticed that Instruments has some means to diagnose display behavior
but on the first view they did seem to help me.
Any advice appreciated.
Regards,
Tino
Sent by mobile
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden