views:

197

answers:

2

Hi @all,

My iPhone app (created under iOS2), has a strange behavior.

The left arrow is not aligned with other controls (on both iOS3 and 4)

My other apps work fine...

Does someone have any idea ?

Controls not aligned

Update : That bug appear with all iPhone in my company, and in all iPhone in my customer's company (both compiled on many computers or distributed via adHoc)

Update2 : The app is now on the appStore without this problem... Really strange...

A: 

According to the your snapshot everything looks fine . mark area in snapshot where u fill the controls are not aligned.

There are the chances of this problem when u changed the view frame of MPMoviePlayerController when adding the subview (i also faced this some of controls are coming half only).

jeeva
it is quite easy to see that the "previous" button is closer to the top of the box (right of your screen) than the "next" button.
Dave DeLong
I've just rotated the screenshot so you can easily see like Dave DeLong said that previous button is not aligned.
F.Santoni
Hay santoni i just checked my app it works fine... strange behavior try uninstall and reinstall ur sdk once
jeeva
We tried with many computers and SDK :(
F.Santoni
A: 

I don't know exactly what the problem is. Here is some guesses that may help:

  • Your development sdk has problems and then it generates something wrong. But, I think that it is less likely but you still need to try

  • You have some images with similar names of the system ones like : "play.png". It happened to me before when I have my image named "play.png" and then the system automatically pick my own images (which looks differently) to be the play button in the MPMoviePlayerController. So, double check that as well.

vodkhang
Like I said, I tried with many SDK... And there isn't such image :(
F.Santoni
Really strange, then I don't know why. How about you try with a blank new project and put MPMoviePlayerController?
vodkhang