iOS Question B4XMainPage - Android and IOS UI controls in the same module

philly_tee

Member
Licensed User
Longtime User
Hi - I have built an Android B4XPages app. I am now looking to build the equivalent for IOS.
In B4XMainPage I have Android specific controls as part of the UI:

B4A:
Sub Class_Globals
    Private edBrigadeNumber As EditText
    Private edSecret As EditText
    
    ...
End Sub

As B4i has TextFields instead of EditTexts, I get a syntax error in B4i.

What is best practice here? As B4XMainPage is shared across the three platforms, a change in one IDE will result in errors in the others.

Many thanks

Philip
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…