uiviewcontroller - IBM Worklight: Using native page in iOS -
i have followed this tutorial (06_02_ios_-_using_native_pages_in_hybrid_applications) in order display native viewcontroller through worklight api - wl.nativepage.show
. , able go hybrid page through [nativepage showwebview:]
.
there 2 screens in application:
screen a: hybrid page (with button go screen b)
screen b: native page (in there textbox input values , button go screen a)
here step:
- go screen b (native) screen (hybrid)
- input values in native page
- click button go screen a
- go screen b again screen --> in step, values previoulsy typed still here.
is possible freshly go screen b everytime? in android, can use finish() on clicking button.
thanks.
finally got work setting self.view = nil
.
// implement function when button pressed - (ibaction)pressonbackbutton:(uibutton *)sender { nslog(@"pressonbackbutton"); nsdictionary *dic = [[nsdictionary alloc] init]; [nativepage showwebview:dic]; self.view = nil; }
Comments
Post a Comment