iOS Question GetVersionName

Discussion in 'iOS Questions' started by Shay, Feb 14, 2015.

  1. Shay

    Shay Well-Known Member Licensed User

    How do I get it in b4i?
  2. Filippo

    Filippo Expert Licensed User

    Try this, I did it by Erel.

    Public Sub GetVersion As String
    Dim no As NativeObject
       no = no.Initialize(
    Dim name As Object = no.RunMethod("objectForInfoDictionaryKey:"Array("CFBundleShortVersionString"))
    Return name
    End Sub
    Marcus Araujo and Shay like this.
  3. Shay

    Shay Well-Known Member Licensed User

    Works fine, thanks
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice