How to set adaptive constraints the right way [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm building an app and I want it to work on every iPhone and iPad.
How do I do to make adaptive constraints that change for each device?
I know you can do something to detect the screen size and adapt the constraints, how do I do that? Is there an easy and clear tutorial?

First of all constraints are depended on your project.when you can start project you take the view and add the 4 constant 0,0,0,0.After this if you can add multiple item in the page,you take the particular view for the particular item.If you take the particular view it can be easy for the set constraints.Very most important thing that you complete the design of your page and after create design you can set the constraints.It's can be easy way to set the constraints.Another most important thing is you can create your project in the small device like iphone-SE and after set constraints and run in medium device like iphone-6,7,8 and in the last run your program in big device like iphone-X,XSmax.

Related

Popup UIPickerview for swift 3 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm wondering if anyone knows a Popup UIPickerView Control that looks like this exactly..
But instead of date picker I want it to be a Normal Picker. I have searched Cocoapods and Github and I always get Date pickers. And when I found a Popup Picker it was using Swift 1 and it was not updated.
So There must be something. I dont think that iOS users always have to implement the popup by them selfs everytime they need one for a view.
Please note that I am asking for this control for Swift 3
I think that you can create yourself.
Use a normal picker embedded in a classic UIView (with round corner) and bottom of this view you can add 2 button (cancel, done) and a label for the title.
In any case always try to consider the user experience not exactly the best...

How do I get the three line menu option in iOS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have seen the button on Android apps and I was curious if such a feature is available on iOS? I've thought about using a split view controller and then trying to trigger the detail via that button, but I am not sure how I would go about that. In short, I don't know how I would get the detail view controller to slide through the master. Click here to see what I mean
Any help is greatly appreciated. Thanks!
You need to add yourself, it's not native option for developer, it's called Hamburger Menu :)
Add your button in view with image you wished menu image. That's it. If you want menu library I recommend to use LGSideMenuController

Xcode Constraints is Difficult? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've programed an app and am at the final stage (layout my design) i've tried setting the constraints
But am facing hard times with it ...
so
Is there a way to design a layout for each device (iphone 4,5,6) and ipads separately ?
if you want to design all of them separately then you'll have to go the nibs(.xibs) and make a different nib for each iphone(4,5,6) and ipads but rather than I suggest you to use size classes and and then apply the necessary constants at first it'll be a little difficult but by time you'll learn how to apply the size classes and constants.
Here are the links where you'll find the best examples.

Display picture in gallery [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I looked trough google and SO but did not find an answer to my question. I found a lot of topics about the Picker but I want to display an Image and not select one.
I have a Storyboard with various data, one of them being an ImageView with a scaled Image I receive from my database with Parse.
Now I want to display the full image when it is pressed. I know I could create a new View for this, but I was wondering if it would be possible to open this with Apple's Gallery or if there is alternative solution with Cocoapod that would simplify the displaying of the image.
I don't want to build a GUI just to view the full image and being able to zoom/share etc. if there is an already existing solution.
You could look into UIImagePickerController should only take a short time to implement and easy to get the image the user picks but you cannot change the appearance or extend the functionality.
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIImagePickerController_Class/
EDIT: Due to my misunderstanding.
This GitHub has a very good and easy solution for simply displaying an image in a full screen manner with built in gesture control.
https://github.com/bufferapp/buffer-ios-image-viewer
One of the best parts is that you can initialise it with URL/ALAsset/PHAsset/UIImage all through the same initialiser.
BFRImageViewController *imageVC = [[BFRImageViewController alloc] initWithImageSource:#[image]];

How I can achieve this design using UITableView [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Hi,
Can anybody have any sample code to create this view using UITableView in iOS.
Please help me out.
I would use a UICollectionView as it is more flexible and allows you to customise almost every part of it and also how the cells are arranged etc. To create the timetable/calendar layout you will need to create a custom FlowLayout.
There are libraries that do this exactly for you. This one, with some tweaking for your design, creates a calendar style collectionView :
https://github.com/erichoracek/MSCollectionViewCalendarLayout
Hope this gives you a start.

Resources