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:

  1. go screen b (native) screen (hybrid)
  2. input values in native page
  3. click button go screen a
  4. 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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -