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
http://img441.imageshack.us/img441/5026/picture5t.png
step 2
http://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 time. 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
Instead of
The latter which pretty much does the trick , unfortunately it does other things as well which are most definately not good
.
I really want to use the first one.
Of course a hackish way is making sure my view skips to the toprow of my UITableView when I select one of the rows that are not in "sight".
Does anyone have a clue or an idea?
With this I mean the following. When I click on a cell everything is fine ( figure 1 )
figure 1.
step 1
http://img441.imageshack.us/img441/5026/picture5t.png
step 2
http://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 time. 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
Code:
[self.view addSubview:videoImageView];
Code:
[self.navigationController.view addSubview:videoImageView];
I really want to use the first one.
Of course a hackish way is making sure my view skips to the toprow of my UITableView when I select one of the rows that are not in "sight".
Does anyone have a clue or an idea?