iOS Question GetVersionName

D

Deleted member 103

Guest
Try this, I did it by Erel.

B4X:
Public Sub GetVersion As String
   Dim no As NativeObject
   no = no.Initialize("NSBundle").RunMethod("mainBundle", Null)
   Dim name As Object = no.RunMethod("objectForInfoDictionaryKey:", Array("CFBundleShortVersionString"))
   Return name
End Sub
 
Upvote 0

Similar Threads

Replies
3
Views
1K
Replies
1
Views
877
Replies
1
Views
1K
  • Question
iOS Question Picker?
Replies
2
Views
1K
Replies
3
Views
2K
Top