Top100vn - Top tin tức chuyên công nghệ, game, du lịch
  • Home
  • Công Nghệ
  • Du Lịch
  • Kinh Doanh
No Result
View All Result
  • Home
  • Công Nghệ
  • Du Lịch
  • Kinh Doanh
No Result
View All Result
Top100vn - Top tin tức chuyên công nghệ, game, du lịch
No Result
View All Result

Create a UIScrollView using Auto Layout in Storyboard for Xcode 9

admin by admin
July 14, 2020
in Công Nghệ
34
Create a UIScrollView using Auto Layout in Storyboard for Xcode 9



Create a UIScrollView using Auto Layout in Storyboard for Xcode 9

Learn how to create a UIScrollView that can contain more content than fits on the screen using this tutorial.

1. Create scroll view, set constraints
2. Create content view inside scroll view, set constraints
3. Rename ContentView
4. Equal widths and heights from ContentView to the ScrollView
5. Lower priority for the height to 250 (make it low, so that it doesn’t override the iPhone height)
6. Add all content to the ContentView, not the scroll view!

Grab the Xcode project on GitHub

Learn how to make iPhone apps from scratch using Swift 4, Xcode 9, and iOS 11. I teach how to use Storyboard, Auto Layout, UI Design, app ideas, and app usability.

Download the code:
Make your first iPhone app:
Blog:
Follow Paul:
Email: Paul@SuperEasyApps.com
Community:

Click here to Subscribe:

Nguồn: https://top100vn.com/

Xem thêm bài viết khác: https://top100vn.com/cong-nghe/

Xem thêm Bài Viết:

  • Top phần mềm quản lý bất động sản số hóa tối ưu
  • AMD Ryzen Threadripper 3000 mạnh gần gấp đôi so với Threadripper đời trước?
  • Google Authenticator là gì? Hướng dẫn chi tiết nhất về Google Authenticator
  • Unbox & Đánh giá chi tiết MSI Mag Z390 Tomahawk
  • Chew-WGA V0.9 có phải là phần mềm Crack Win 7 tốt nhất? Tại sao?
Previous Post

NGÀY 2: CHỢ CỒN || ĐAU TIM VÌ TRƯỢT THÁC HÒA PHÚ THÀNH? || BÁNH XÈO BÀ DƯỠNG || ĐÀ NẴNG (VLOG 42)

Next Post

Mùa Hè Mát Mẻ Cùng Đầm Maxi - 1797

Next Post
Mùa Hè Mát Mẻ Cùng Đầm Maxi – 1797

Mùa Hè Mát Mẻ Cùng Đầm Maxi - 1797

Comments 34

  1. Muhammad Talha says:
    2 years ago

    I come back to this video every few months when I need a scroll view – that's how unintuitive it is to me! Thanks so much for this!!

    Reply
  2. Paulo Silva says:
    2 years ago

    Great tutorial, very very helpful. It's not easy to find proper information on this topic. Thanks!

    Reply
  3. Jon Kemp says:
    2 years ago

    huge help, thank Paul

    Reply
  4. Ezra Black says:
    2 years ago

    I was just in class being taught by you, and now came here to watch this to finish my student project 🤦‍♂️ Paul is everywhere and the best!

    Reply
  5. Gustavo Reis says:
    2 years ago

    thank you very much!!!

    Reply
  6. Мирза Вагабов says:
    2 years ago

    bro ) good tutorial

    Reply
  7. James Marson says:
    2 years ago

    Thank you so much. I had been bashing my head against a wall of scrollview nightmares. Tried everything. This fixed it. Thank you!

    Reply
  8. Mochamad Nurkhayal Kadafi says:
    2 years ago

    thankyou so much

    Reply
  9. Declan Land says:
    2 years ago

    Just started getting into Autolayout after 6 years of development.. this just saved my life haha, thanks man

    Reply
  10. Pankaj Kulkarni says:
    2 years ago

    This works in 2020 with Xcode 11.4. Thanks Paul 👍

    Reply
  11. Robert Little says:
    2 years ago

    YEET, Got it working, thx bb

    Reply
  12. Randi-Marie Pedersen says:
    2 years ago

    Thank you so much! This really helped me a lot! Been using hours trying to figure this out

    Reply
  13. BUG Kr says:
    2 years ago

    Thank you. Is there any way to do Relation with Less Than or Equal after giving scrollView Height Constraint as a large value?

    Reply
  14. esraa ghoul says:
    2 years ago

    جزاك الله خيرا

    Reply
  15. Gabil Akbarov says:
    2 years ago

    Thank you so very much, Paul. Your video really helped me to understand scroll view

    Reply
  16. micha says:
    2 years ago

    thank you so much! you saved me a psychiatrist. The scrollview drove me crazy

    Reply
  17. R Shrewd says:
    2 years ago

    Clear and up to the point. Thanks buddy

    Reply
  18. Dan Kardell says:
    2 years ago

    So this works in Xcode 11, HOWEVER, you need to go into the scroll view , click on the size inspector and TURN OFF Content Layout Guides. Would love to see a tutorial that uses those. Once I turn that off, the steps in this video work just fine

    Reply
  19. / FDEE Minsang says:
    2 years ago

    THANK YOU SO MUCH! i'm SouthKorean ,and i was searching google, but i can't do that…. but finally you save me!

    Reply
  20. Jeff Fischer says:
    2 years ago

    Thank you!!! I'm not sure which of the settings you carefully walked through in setting up the ScrollView did it, but by 6:32 I had mine working after hours of poking and guessing. I bet it was the 250 priority setting. My ScrollView wasn't even the same size as the SuperView, but I could still interpolate with your clear instructions. Bless you for doing this!

    Reply
  21. Md Shadab Alam says:
    2 years ago

    plzz make tutorial on how to detect user inactivity since his last touuch in app.
    if he hasn'tperform any activity for certain period of time then we could send him to other viewController or logout him..
    thanks

    Reply
  22. Saua Faalelelei says:
    2 years ago

    It's scrolling but my buttons stay on screen, please help

    Reply
  23. Dan Kardell says:
    2 years ago

    Have you updated this for Xcode 11.3 . This does not appear to work any longer. Thanks

    Reply
  24. Amir Siddique says:
    2 years ago

    I've been doing iOS programming for 3+ years now, but still learned some shortcuts and storyboard ticks in this video. Bravo!

    Reply
  25. Bogdan Lazar says:
    2 years ago

    Thank you so much for this amazing ScrollView tutorial. You are a life savior!

    Reply
  26. Dan Freeman says:
    2 years ago

    Fantastic video and example project. I would've never thought to change the height priority – videos like this make Swift a usable language!

    Reply
  27. Arash Afsharpour says:
    2 years ago

    working with Scrollview in swift and iOS is such a PAIN for real, I do all this in Android with less than a minute! thanks for the video btw, it helped SO MUCH

    Reply
  28. EGeo says:
    2 years ago

    This tutorial helped me a lot!Thanks!!!!

    Reply
  29. Selvarajan T says:
    2 years ago

    Thanks for this video. It is pretty useful for my current situation..

    Reply
  30. Gary Stinson says:
    2 years ago

    When I do exactly what you have done here and add constraints like you did on 1:40 I get an error message and red lines around the scroll view, that my scroll view has ambiguous scrollable content hight and width. Can you help me out on that?

    Reply
  31. Peter Dow says:
    2 years ago

    I think your tutorial is not working with Xcode 11. Can you please fix it for universal app (iPhone, iPad and Mac)

    Reply
  32. Super7Ace says:
    2 years ago

    it says that need constrains for X Position

    Reply
  33. Mike FPV says:
    2 years ago

    Thanks! you save me!

    Reply
  34. CodestreamiOS & Android says:
    2 years ago

    Super helpful vid. Thanks. I am finally writing this all down.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Hướng dẫn lựa chọn du thuyền độc thân tốt nhất cho du khách ở mọi lứa tuổi

Hướng dẫn lựa chọn du thuyền độc thân tốt nhất cho du khách ở mọi lứa tuổi

December 14, 2022
TOUR HỒ TRÀM 3 NGÀY 2 ĐÊM  | DU LỊCH HỒ TRÀM – DU LICH YẾN VIỆT / TOUR HO TRAM 2N1D 1740000 VND

TOUR HỒ TRÀM 3 NGÀY 2 ĐÊM | DU LỊCH HỒ TRÀM – DU LICH YẾN VIỆT / TOUR HO TRAM 2N1D 1740000 VND

July 14, 2020
DU LỊCH SÀI GÒN | Khám phá Chợ Bến Thành ngày và đêm: Nhiều Người đẹp và Món ăn ngon

DU LỊCH SÀI GÒN | Khám phá Chợ Bến Thành ngày và đêm: Nhiều Người đẹp và Món ăn ngon

July 14, 2020
HỒ CỐC BÃI BIỂN ĐẸP MÊ HỒN | XUYÊN MỘC | VŨNG TÀU

HỒ CỐC BÃI BIỂN ĐẸP MÊ HỒN | XUYÊN MỘC | VŨNG TÀU

July 14, 2020
Thác Bản Giốc – CAO BẰNG – Động Gườm Ngao – Pắc Bó – BẮC KẠN – Hồ Ba Bể – Tuyên Quang – Thái Nguyên

Thác Bản Giốc – CAO BẰNG – Động Gườm Ngao – Pắc Bó – BẮC KẠN – Hồ Ba Bể – Tuyên Quang – Thái Nguyên

July 14, 2020
HOTDEAL.VN | Đẹp Toàn Diện Tại Hệ Thống Spa Việt Hàn – Âu Hàn. #hotdeal

HOTDEAL.VN | Đẹp Toàn Diện Tại Hệ Thống Spa Việt Hàn – Âu Hàn. #hotdeal

July 14, 2020
  • Chính Sách Bảo Mật
  • Liên Hệ

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Công Nghệ
  • Du Lịch
  • Kinh Doanh

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.