iOS Question change between activities?

ilan

Expert
Licensed User
Longtime User
i know how to load a new page (class module) but go back to first page is only able with backbutton key
and if i dont want to show the navigationbar??

how can i return to main page by clicking on a button?
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
NavigationController.ShowParge(PageName As Page)
NavControl.ShowPage(SetFilter)

this is not working

B4X:
Application_Start
Application_Active
Error occurred on line: 40 (game)
-[b4i_main useLayoutToLayoutNavigationTransitions]: unrecognized selector sent to instance 0x155ac300
Stack Trace: (
  CoreFoundation       <redacted> + 154
  libobjc.A.dylib      objc_exception_throw + 38
  CoreFoundation       <redacted> + 202
  CoreFoundation       <redacted> + 706
  CoreFoundation       _CF_forwarding_prep_0 + 24
  UIKit                <redacted> + 96
  Bomba2               -[B4INavigationControllerWrapper ShowPage:] + 464
  CoreFoundation       <redacted> + 68
  CoreFoundation       <redacted> + 282
  Bomba2               +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1936
Bomba2               -[B4IShell runVoidMethod] + 210
Bomba2               -[B4IShell raiseEventImpl:method:args::] + 2002
Bomba2               -[B4IShellBI raiseEvent:event:params:] + 1280
Bomba2               __33-[B4I raiseUIEvent:event:params:]_block_invoke + 74
libdispatch.dylib    <redacted> + 10
libdispatch.dylib    <redacted> + 22
libdispatch.dylib    <redacted> + 254
CoreFoundation       <redacted> + 8
CoreFoundation       <redacted> + 1300
CoreFoundation       CFRunLoopRunSpecific + 522
CoreFoundation       CFRunLoopRunInMode + 106
GraphicsServices     GSEventRunModal + 138
UIKit                UIApplicationMain + 1136
Bomba2               main + 116
libdyld.dylib        <redacted> + 2
)
 
Upvote 0
Top