iOS Question my frist app

Discussion in 'iOS Questions' started by winjiadh, Apr 28, 2015.

  1. winjiadh

    winjiadh Active Member Licensed User

    when I used 1.4 test some,it's ok
    when I download the 1.8
    I test some old app, it's ok
    I write a new ,like this
    'Code module
    #Region  Project Attributes
    #ApplicationLabel: cards
    #Version: 1.0.0
    'Orientation possible values: Portrait, LandscapeLeft, LandscapeRight and PortraitUpsideDown
        #iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
    #iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
    #End Region

    Sub Process_Globals
    'These global variables will be declared once when the application starts.
        'Public variables can be accessed from all modules.
        Public App As Application
    Public NavControl As NavigationController
    Private Page1 As Page
    Dim bmpHand As Bitmap
    End Sub

    Private Sub Application_Start (Nav As NavigationController)
        NavControl = Nav
        Page1.Title = 
    "Page 1"
        Page1.RootPanel.Color = 
    Colors.Black '.White
    End Sub

    Private Sub Page1_Resize(Width As Int, Height As Int)
    For I = 0 To 9 'create 10 imageviews
            Dim btn As Button
            btn.Initialize (
    File.DirAssets ,I&"card.png")
    0dip+10%x*I, 100%y-100dip15%x100dip)
    End Sub

    Private Sub Application_Background
    End Sub
    'state: 0 - normal, 1 - highlighted, 2 - disabled
    Sub SetBackgroundImage(b As Button, bmp As Bitmap, state As Int)
    Dim no As NativeObject = b
    "setBackgroundImage:forState:"Array(bmp, state))
    End Sub
    it's can't used

    Attached Files:

  2. winjiadh

    winjiadh Active Member Licensed User

    I run b4i-Bridge in iphone5, and click the b4i "run"
    the iphone5,display like this
    I click the right button "安装" menes "setup"
    but nothing in my iphone
  3. winjiadh

    winjiadh Active Member Licensed User

    And I restart my local MAC ,my IPhone5, and the computer used B4I programe
    the Miracle happened
    the app run is OK
    but who can told me what happen?
    who knows?
  4. Erel

    Erel Administrator Staff Member Licensed User

    Hard to say. Maybe the Mac builder didn't add the certificate to the keychain correctly.
  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