Posts

Post not yet marked as solved
0 Replies
364 Views
Hey, so I’m writing a music/video application in swiftui. it has tabs where one of the tabs is the “now playing” tab showing the video currently being played. it works well, however when navigating to another tab and back to now playing has some weird effect on the video. Audio continues fine but video seems to speed up when I return to the tab to catch up with current audio. can you please help?
Posted
by erlichg.
Last updated
.
Post not yet marked as solved
0 Replies
332 Views
Hey guys,I have a custom uiview with a uicollectionview (setup from storyboard).At first the collection view is off screen and I move it to view when the user swipe.Now, as far as focus is concerned, everything looks OK.In the collection view I override canBecomeFocused to true and I call setNeedsFocusUpdate.I see the collection view receives focus because the iem in the list is highlighted, however I can't scroll it.The main view catches the swipe gesture and I can't seem to make the collection view catch it.I tried becomeFirstResponder and cancelsTouchesInView but nothing works.What I need is when the collection view appears (after swipe), the user can scroll it.Can anyone help?
Posted
by erlichg.
Last updated
.