SpaceX
SpaceX

Reputation: 2890

How to achieve calendar week view in swift iOS

How can I achieve week view of the calendar in my iOS app as shown below, ideally using Apple calendar components (if any) and also how can I retrieve the selected date.

I have tried using both FSCalender and CVCalender plugins, without much success, as each was missing one element or the other.

enter image description here

Upvotes: 0

Views: 4341

Answers (1)

rob mayoff
rob mayoff

Reputation: 385660

The answer is, you lay out a bunch of views and set their contents. Perhaps use a collection view for the horizontal days. Definitely use a table view for the times. There's nothing in the public SDK to do it all for you. You just put together a view hierarchy the normal way.

Upvotes: 1

Related Questions