oh... i got it...
what you suggested me to do is to simply "push a view with a navigation button" right?
create the push view and "pre" define the button right?
let me have try first... and again... is there a more proper way to do it...
let say... how can i call the closeview function in a view controller manually???
2012/5/21 ho ming pang
so make it in short,,,
i knew how to close a launched view? but if i pushed another view in the launched view...
main view ->launched view- >push view...
then is there any method i can call to take me back to main view directly?
many thanks
2012/5/21 Jarada
Hi,
On 5月20日, 下午8時03分, Jarada wrote:
i have implemented the push view with navigation item
but i still have problem override that method... as i dont reli know what should i replace (MyLaunchedClass *)with... so the easiest way is .... i have create a project which shows what my situation isItemViewController->PushViewController->ModalViewController ...
and i left the "backToRootView" method blank
so i think you more or less get what i want to do
lastly really thanks for your kind help
2012/5/21 JaradaThe second gist (https://gist.github.com/2759118) assumed you had a navigation bar in your launched view and were using the pushViewController method in order to push a new View Controller onto the stack. If this is the way you are doing things, then using the close icon that myLauncher provides is the best way to go. You do this by moving it onto the right side of the navigation bar (so that it doesn't obstruct the back buttons) and then each time before you push your next view, you set the next view to also have the same close icon (so that it can also close).
oh....i think i attached wrong project lol....
its now 2:26 am...i was asleep.... but i worth me to have a brief look
can you have a look of the new attached project? and guve me some advices? thanks
2012-5-22 上午2:37 於 "ho ming pang" 寫道:
in fact this is what i wanted to send you,,,you may have a look,, and give me a model answer
i think i should be able to work it out by myself,,, let me try for a while first
2012/5/22 ho ming pangoh....i think i attached wrong project lol....
its now 2:26 am...i was asleep.... but i worth me to have a brief look