Adaptive Auto Layout

  Рет қаралды 25,066

Tyler Fox

Tyler Fox

Күн бұрын

Пікірлер: 6
@nikunjjain976
@nikunjjain976 8 жыл бұрын
Very Very Thank you very much Tyler Fox......I just love this video :)
@hemalpatel6227
@hemalpatel6227 9 жыл бұрын
Hi Tyler , I really really appreciate you...After watching this great video, i have only one question and that is for iPad, we have regular- regular size class, now in portrait mode am showing one button that should be hidden in landscape mode or vice versa.How can i do that ?Please suggest me proper way.
@anadkatmadhav
@anadkatmadhav 9 жыл бұрын
Hi Tyler , I have attend your full class and you are really good what you have explain. i have question regarding auto layout that we have image assets in iOS , and we generally follow that . what i mean is we are generally making 4 images for iPhone all resolutions , say for instance we have a logo in splash screen and we need to manage that logo size as per device screen size in portrait as well as landscape , then we generally making 4 logos and according to my knowledge , As per me what i have observed , images are taken from different Image assets as per screen resolution as per bellow .. iPhone 4s 2x iPhone 5 Ratina 4 2x iPhone 6 2x iPhone 6+ 3x Now till time i have used without auto layout designs , but now i want to learn the auto layout stuff and all and i am in my learning process. So when i set the images in image assets how that will manage by auto layout ? I mean that image size is not changing as per screen size, can you please help me to understand that , that will be really helpful to me and i really appreciate that. Thanks, Madhav
@smileyborg
@smileyborg 9 жыл бұрын
Madhav Anadkat Hi Madhav, the best way to get your different asset sizes/resolutions working well with Adaptive UI is to store them in Asset Catalogs. Specifically, you can customize which version of an asset will be used based on the size class and scale factor. Then, when you load the asset it will automatically use the right one for the current device and size class. Here is a link to Apple's documentation on this: apple.co/1NzCl0n
@anadkatmadhav
@anadkatmadhav 9 жыл бұрын
***** first of all thanks for your prompt reply.. , I have done the same , like i have put 4 logos in different assets now , when i run the application in iPhone 4S it will take 2x assets and same way when i run the application in iPhone 6 that will also consider the 2x asset , so iPhone 6 with 2x image is quite good. but when the same image will be used in 4s then it looks bed. also , about the size of image , when iPhone 4s and iPhone 6 both will take the same image from 2x asset that will be the problem. so, if you have suggestion regarding that .. that will be really helpful again , thanks for your replay.. Thanks, Madhav
@rahulmandalkar621
@rahulmandalkar621 7 жыл бұрын
Hi Tyler
Mastering Chaos - A Netflix Guide to Microservices
53:14
InfoQ
Рет қаралды 2,3 МЛН
NSLondon: Asynchronous UI by Scott Goodson - July 2014
1:04:09
Scott Goodson
Рет қаралды 14 М.
Человек паук уже не тот
00:32
Miracle
Рет қаралды 3,6 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 7 МЛН
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 42 МЛН
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,7 МЛН
Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018
41:35
GOTO Conferences
Рет қаралды 817 М.
iOS Animations with Auto Layout • Marin Todorov • GOTO 2015
51:30
GOTO Conferences
Рет қаралды 16 М.
You Won’t Believe What Excel’s Copilot Can Do! (new updates)
10:37
iOS Swift Tutorial: The power of UIStackView
20:07
Brian Advent
Рет қаралды 44 М.
Trump Wins: Making Sense of Election Night
29:53
New York Times Podcasts
Рет қаралды 586 М.
Constraints/Autolayout! (Xcode)
9:22
Jared Davidson
Рет қаралды 70 М.
MacBook Pro Announcement - October 30
16:53
Apple
Рет қаралды 23 МЛН
iPhone or Samsung?
0:18
ARSTANOTT
Рет қаралды 4 МЛН