iOS Tutorial PageViewController

little3399

Active Member
Licensed User
Longtime User
Tks , I using the hosted builder to building the demo app , it running very well !

and I updated the MacBuilder and running very well same as the hosted builder !

Tks again !
 
Last edited:

pedrocam

Member
Licensed User
Longtime User
Hello fellow programmers,

I am using PVC and I am trying to open directly to page2 if a condition is met. However I do not know how to change the page with code for the PVC controller and and haven't been able to guess it or find any documentation. Any help? Thanks!

Pedro
 

iCAB

Well-Known Member
Licensed User
Longtime User
Hi Guys

is there a way to reference current page?

In particular, I am using mail composer from inside a class (shared code with B4A). According to the sample code, I need to reference Parent Page

B4X:
mailc.Show(pg)

is there a simple way of finding the current page without having to rely on some global variable that I have to set every time a page is loaded

Thanks in advance
 

iCAB

Well-Known Member
Licensed User
Longtime User
Thanks Erel, i will check it. I was just wondering if this changes the program flow. Currently, the same code works for B4A & B4I
 

OlavRossland

Member
Licensed User
Longtime User
Geting these messages when I start Your example in B4i - but Im not able to figur out what do do with the last line...

Application_Start​
Application_Active​
Page 1 is visible​
Unbalanced calls to begin/end appearance transitions for <B4INavigationController: 0x11f815200>.

I have not made any changes from the original example...
 

OlavRossland

Member
Licensed User
Longtime User
You can probably ignore it. Do you see any problem?
In IOS You can drag & drop text from one app to another (also on a iPhone- without split screen).

I’m now testing to drag & drop text from one page with webview to another page with textview, by scrolling over from webview-page to textview-page.

But…
I can drag & drop with PageViewController-method, but the +sign disappears when I drag the text over to the textview-page, and no text is paced when I drop the text in the textviewer.

But…
If I do the same test - in a new app without PageViewController-method, I can drag & drop the text by “scrolling” back to the textview-page by using the “page back button”. By this method the +sign stays, and after dropping the text in the textviewer, the textview is updated with the new text.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…