iOS Question ActionSheet and device orientation (landscape to portrait)

Discussion in 'iOS Questions' started by GGSoft, Feb 20, 2015.

  1. GGSoft

    GGSoft Member Licensed User

    I played arround with ActionSheet view and noticed that when I start the app in landscape mode the ActionSheet is shown in one line at the bottom of my iPhone 5C. If I hide the ActionSheet with the Cancel option, rotate the iPhone to portrait mode, and ask to display the ActionSheet again, it still is shown in one line, truncated!

    Am I missing something?
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    I see it too. This code fixed it:
    Code:
    Sub btnShowMe_Click
       ashMenu.Initialize(
    "ashMenu""""Cancel"""Array As String("One""Two""Three""Et al"))
       ashMenu.Show(btnShowMe)
    End Sub
     
  3. GGSoft

    GGSoft Member Licensed User

    :|
    I'll give it a try.
    Thank you...

    I tried it out.
    It works!
    Thanks, again.
     
    Last edited: Feb 20, 2015
Loading...
  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