How to use Auto Layout for beginners in Swift - iOS 2023
Vložit
- čas přidán 3. 02. 2020
- 💻 Source Code: / iosacademy
🎥 Subscribe for more: czcams.com/users/iOSAcademy?su...
😎 Like my teaching style? Check out some of my most popular courses: courses.iosacademy.io
👉🏼 Connect (personal LinkedIn) / afrazsiddiqui
🚀 Follow on LinkedIn / ios-academy
iOS Academy offers the #1 course for iOS Development for Beginners. Learn to create iPhone and iPad apps from scratch. Everyone these days has an app idea; learn the important skill of making those apps, make yourself more marketable, change industries to get a different job, and enjoy the ride!
Like my teaching style? Learn to build the TikTok iOS App with my recent course! ios-academy.teachable.com/p/b...
This video is brought to you by Skillshare - an only community of teachers sharing awesome skills. Use the following link to get 2 months of FREE premium: www.skillshare.com/r/user/afraz
Into iOS? Lets connect! linkedin.com/in/afrazsiddiqui
But what when UI becomes more and more complex?
I understand how to manage auto layout with single square on the screen, but can't wrap my head around how to be efficient with complex UI, with bunch of labels, images and buttons covering whole screen?
Can you make some tutorial where you can show us how to handle those more complex situations?
Thanks in advance!
Much more clear than the other class Im taking. Ill look for more from you
Thanks for this video yesterday I was struggling but I think I have an idea of what I need to do now.
Well Explained. Thank you!
Thank you! You make it much easier to understand.
Very helpful for me,your videos are very very helpful.basically I am mechanical engineer but now I move to IT field and I learning things alone with the help of CZcams and other stuf and I find your CZcams channel and it's great to understand things easily..
helpful tutorial, thank you, understood why constraints are important
How would the constraints work when drawing a line or a bezier curve on the view. Would the xy co-ordinates of the line/curve differ with each different device?
Perfect tutorial, just in a right place and in a right time, thank you !
Youre welcome
Thanks so much for this lesson!
Your welcome!
Best video on youtube for beginners.
Thanks
Thanks... Great ! Thanks for sharing...
superb. I had an allergy to auto-layout. but by seeing this video, I fall in love with auto-layout. Simple and easy. Very good job buddy.
Thank you!
Thanks man,
Awesome video. Extremely helpful.
Thanks! Glad I can help. Make sure to subscribe and like for more
If I setup one as background, I make it a distance of “0” from view, and when I run it on iPad, it’s comes very slim. Definitely not as a wallpaper. I’m struggling. But thanks for the video :)
Thanks this helped so much i was struggling with it
Youre very welcome!
I am wondering how to launch few storyboards on the same screen on different devices at a time, to see how layouts behave.
Thank you for this video. It helped me a alot!
You’re welcome
Hi, do you have sources for building the interface by code so I can delete storyboard?
your videos are just awesome, thanks a ton !
Youre welcome
cool video, straight forward and clear!
Thanks
I am struggling Really thank you
can you demonstrate autolayout constraints with percentage?
thank you you really helped me
Your welcome! Make sure to subscribe for more
I’m having issues sizing buttons and fonts for different devices both in storyboards and programmatically
really loved it
Thanks!
Your amazing 🤩 thanks
Great, Simple and very easy tutorial. U have earned one more subscriber!
Thanks
hmm a question that kills me everytime, how do i know how much the distance ? i mean if i want it to be far away from the blue view but by little, how do i know the amount? :)
Great video! Continue with these videos, they are very helpful
thanks! Make sure to subscribe for more
@@iOSAcademy Yeah, I have done it. Btw do you have a tutorial on layout with textfields, buttons, labels etc?
Thanks for the video! Relevant question: How can I adjust the layout for smaller screens? All iPhones have the same size class for vertical view - wC hR. I don't understand how to set a smaller font size or smaller constraints for tiny screens like iPhone 5s.
Youre welcome. To do that you need the content to expand or decrease in size to accommodate less apace - or use something like a scrollview
Thank you 😊
Youre welcome
Thank you for sharing, but how can I fill all the screen with the imageview without the blank from the safe area?
Your welcome. For this, you can just disable the safe areas in the storyboard
Awesome
Thanks
@@iOSAcademy :)
Hi thank you for this. And what's the difference between auto-layout and auto-resizing?
You're welcome! Make sure to sub! The difference is one refers to the actual layout where the other refers to dynamic ability to resize the laid out view
Tx bro
Youre welcome
Thank u
Youre welcome
Very useful video :)) Kudos to the video creator. Can't believe I need to lookup the a tutorial just to understand how to use AutoLayout properly (I am familiar with Android's ConstraintLayout which is similar to this). Guess Xcode needs to step up their UX & interface
Thanks & agreed
Is there a specific way you're supposed to layout label objects or no? When I tried doing it for the labels, each time I previewed them on something like an iPhone 11 then previewing it on an iPhone 8, it would move them around? Or am I just doing something wrong?
Things just need to be constrained. Can you define "move around". The expectation is that things will get moved bc smaller screens have less space
as always, very clear. Thank You very much. Subscribed!:)
You’re welcome
simple as it gets. Simple is nice..
Thanks!
doesn't matter if you can code swift or obj-c if you can't freaking get this down! thank you so much!
You’re welcome
How about being able to detect safeArea layouts in Xcode only?
Each view has a safeAreaInsets property
Can someone please help
I have 11.3 Xcode and it doesn’t let me place constraints!!!!
how to align a view to the bottom of safe area?
Pin to the bottom and set an appropriate height that you need
Great tutorial
#CodeWithMonika
Thanks
Zoom in - zoom out.We are not blind!
Maybe i am :)
i was a boy!
and i got my peter pulled!
as a child!
AS A LITTLE BABY BOY!
Very painful to see zoom in and zoom out so repetitively.
New videos have no zoom
ugh, i hate this
Video or auto layout?
@@iOSAcademysorry i meant autolayout, video was useful thanks