Very Very Thank you very much Tyler Fox......I just love this video :)
@hemalpatel62279 жыл бұрын
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.
@anadkatmadhav9 жыл бұрын
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
@smileyborg9 жыл бұрын
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
@anadkatmadhav9 жыл бұрын
***** 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