views:

28

answers:

0

Does anyone know if it's possible to center my image when using a navigationController. With this I mean the following. When I click on a cell everything is fine ( figure 1 )

figure 1. step 1

img441.imageshack.us/img441/5026/picture5t.png

step 2

img70.imageshack.us/img70/3998/picture6a.png

I go back and want to click another cell , however this time I like to scroll down and click one of my bottom cells( which are out of my view). Well my imageview is being added only outside the view ( almost at the top of the navigationController , which is correct ) so unless I scroll to the top. Is it possible to have some sort of property with which accesses some sort of current image status and have it centered at all times. So not like this so that I have to scroll up to see it( figure 2 )

figure 2

http://img186.imageshack.us/img186/3012/picture7l.png

I want to keep using

[self.view addSubview:videoImageView];

Instead of

[self.navigationController.view addSubview:videoImageView];

which pretty much does the trick , unfortunately it does other things as well which are most definately not good;).

Anyone have a clue or an idea?