Questions tagged [adaptive-ui]

Adaptive UI was introduced with iOS8 to assist in responsive layouts.

Introduced with iOS8, Apple's Adaptive UI uses specific layout rules based on breakpoints (using classes) to adjust for pixel density across devices of different sizes.

53 questions
1
vote
3 answers

Why are the button background images strecthing?

I have an app in which I have a side menu. In the side menu, the rest of the buttons appear fine but two buttons are stretching weirdly. screenshot attached. This is how I am setting button images. - (UITableViewCell *)tableView:(UITableView…
NSNoob
  • 5,548
  • 6
  • 41
  • 54
1
vote
0 answers

text size on iPhone 6 Plus

We have an app that originated back on iOS 5. Our next release will make iOS 7 the minimum, so we haven't used size classes, and we haven't changed our text to use adaptive text. We did switch to autolayout last year. We made some modifications…
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
1
vote
0 answers

Any tips on backwards compatible Adaptive text sizes (iphone6/5/5s etc)

working on updating UI for new phones. Naturally, i have a couple of text fields that appear smaller on iphone6/6 plus. Since i need my app to work back to IOS5, i can't use auto layout or the new adaptive text field stuff. I have looked around a…
Mathias
  • 3,879
  • 5
  • 36
  • 48
1
vote
2 answers

How to use the size class adaptive layout in existing project

I have installed latest xcode6 GM. I have opened the existing project and changed it to use size class. The problem i am facing is i have table view in which cell height is 50. While i run it different simulator, all have the same output. But when i…
Arasuvel
  • 2,971
  • 1
  • 25
  • 40
0
votes
1 answer

Adpative Listview to adjust according to screen size for UWP xaml app

Listview contents multiple item like textblock how can we make it the list view adaptive as per the screen resolution where the grid contains multiple boxs of listview. Need to adjust below similar xaml page listitem and text as per sceen changes
0
votes
3 answers

android detect device width

is there a way to detect device width so that we can add views programmatically based on device screen width. For example, single or dual pane. Right now, the way for adpative UI is using layout XML for different device size. This is not flexible…
Dave
  • 759
  • 2
  • 9
  • 31
0
votes
1 answer

How to add more font sizes for label in xcode 8 in xcode 7 it shows '+' symbol in beside font

i want to implement the individual sizes for uilabel in all devices and ipad in iphone devices it working where as in ipad it not increasing please help thanks in advance
vamsi
  • 592
  • 1
  • 7
  • 14
0
votes
1 answer

iOS : Size classes issue

I'm creating a UI using size classes. As you can see in the below picture , there's issue with iPhone 6 Plus . Please help iPhone 4s always creates a mess. Do tell me if the UI is correct? Image description:
gm_Suraj
  • 13
  • 7
0
votes
0 answers

The new UISplitViewController in iOS8 using objective c without storyboard

I try to implement adaptive UI in my app. By making UISplitViewController as the rootview controller, I can run the iPhone's code in iPad too. I red Apple's documentation about UISplitViewController and some samples. All are using storyboards and…
Confused
  • 3,846
  • 7
  • 45
  • 72
0
votes
1 answer

Adaptive UI UWP

I am trying to learn about adaptive UI. I use bootstrap alot, but am in the process of designing a Windows 10 app with xaml. I am wanting the textboxes and textbloxks to adjust based on if the user shrinks the window or not. This is what I have, but…
Code
  • 1,969
  • 3
  • 18
  • 33
0
votes
1 answer

Horizontal ul li navigation bootstrap

I have ul li navigation with bootsrap , where li has fixed width, and I have got a lot of li, and I want to show all li elements of menu on mobile (I dont know how) Problem : I want to show all menu in horizontal way on mobile, but it's going…
0
votes
2 answers

Call made to adaptivePresentationStyleForPresentationController even for iPad sim

I have a viewcontroller implementing the UIPopoverPresentationControllerDelegate method of: adaptivePresentationStyleForPresentationController(controller: UIPresentationController!, traitCollection: UITraitCollection!) -> UIModalPresentationStyle…
kawingkelvin
  • 3,649
  • 2
  • 30
  • 50
0
votes
1 answer

Determine how a view controller is being presented

I am presenting a view controller modally with its UIModalPresentationStyle set to the adaptive style UIModalPresentationPopover. This style when in a horizontally compact environment (iPhone portrait) will appear over the full screen. When in a…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
1 answer

Acceptable to use UIScreen.mainScreen().bounds.size.height to programmatically position elements?

Is using UIScreen.mainScreen().bounds.size.height to position or size elements in my layout based on device size an acceptable thing to do? Or will this kind of thing have me hauled off to a infinite loop cubical farm for a thrashing?
Sam Luther
  • 1,170
  • 3
  • 18
  • 38
0
votes
1 answer

Designing for iPhone resolutions with Sketch 3

Im new to Sketch 3 and am designing an iPhone app to be responsive across all resolutions. I have been following the size guides on here http://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions which have been really helpful but I am…
Raj
  • 897
  • 1
  • 15
  • 28