Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC:

iPhone X support - search bar hidden or too far below 6 years 1 week ago #13707

  • thoechtl
  • thoechtl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
We have issues with the search bar on iPhone X, please have a look at the screenshots from portrait and landscape mode. Is it a known issue and will it be fixed soon? Any hints how we could fix it in the mean time?

Thanks for your help,
Thomas
Attachments:

Please Log in or Create an account to join the conversation.

iPhone X support - search bar hidden or too far below 6 years 1 week ago #13709

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Hi,
We're going to release a new version very soon.
If you urgently need it you could go in objective c code and set the searchBar frame like this:
CGRect statusbarRect = [[UIApplication sharedApplication] statusBarFrame];
    
    if(SYS_VERSION>=7.0)
    {
        float hi = self.navigationController.navigationBar.bounds.size.height;
        _m_searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0, hi+statusbarRect.size.height, cwidth, 41)];
    }
    else
    {
        _m_searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0, 0, cwidth, 41)];
    }

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum