if you are experiencing the left cutting edge, this is because of the vertical type image your using, try to use horizontal images so that it can scalleToFill and the other unseen frame would help you to have the effect, if you notice that the image is animating like the image is long, see is because it is horizontal and have much side spaces to achieve the effect Kavsoft did, and i hope each time he import image to tell us wether it is Vertical, or Horizontal one, best regards
i'm experiencing a problem, in ios 18 when i swipe through, the other cards after the first are misaligned, only the first one and last one are aligned centered. This is not an issue in earlier ios versions.
thank you!!! everything work fine! except when I put the .offset(x: -minX) line the is a kind white bar that mask the corner radius of the image on the right side ? any help ?
It’s inside a scroll view, so it will have no issues. If you still need a height relative to the screen height, then you can use it like this: GeometryReader { let size = $0.size ScrollView {…} } Simply replace the height by size.height * 0.65
Nice video! Thanks for teaching us! By the way, is there something I have to do to show my preview in canvas the way you do it besides having the same syntax? I tried using "#Preview" then "{ContentView()}" but I get an error stating "Use of unknown directive '#Preview'"
Inspiration 👉dribbble.com/shots/5274370-Travel-app-concept-Parallax-Interaction
could you give me some script to expand the card view when tap on it?
A well deserved subscribe! Thank you!
This is was amazing. Thanks a lot for the video
if you are experiencing the left cutting edge, this is because of the vertical type image your using, try to use horizontal images so that it can scalleToFill and the other unseen frame would help you to have the effect, if you notice that the image is animating like the image is long, see is because it is horizontal and have much side spaces to achieve the effect Kavsoft did, and i hope each time he import image to tell us wether it is Vertical, or Horizontal one, best regards
i'm experiencing a problem, in ios 18 when i swipe through, the other cards after the first are misaligned, only the first one and last one are aligned centered. This is not an issue in earlier ios versions.
This is so satisfying
Definitely 👍 once that will come 💯 thank you 😊
Great effect parallax
which is better choice for faang uikit or swiftui? any idea ?
Interesting effect
Awesome!
@kavsoft can you teach us how to make private profiles and block users using swiftui & firebase?
thank you!!! everything work fine! except when I put the .offset(x: -minX) line the is a kind white bar that mask the corner radius of the image on the right side ? any help ?
same too, but i don't know why
what is happening after adding ".offset(x: -minX)" ? we have the parallax Carousel Scroll, Thnak you please guide me about this.
Love it
Can you please teach how to make the images on the carrousel buttons so that they can be clicked on and send to another view?
you can embed the image within NavigationLink(destination: your destination view here){ your image here }
setting geometry frame height to constant 500 will cause issues with uniformity across app sizes?
It’s inside a scroll view, so it will have no issues. If you still need a height relative to the screen height, then you can use it like this:
GeometryReader {
let size = $0.size
ScrollView {…}
}
Simply replace the height by size.height * 0.65
@Kavsoft can we achieve infinite horizontal from this?
Noted!
Nice video! Thanks for teaching us! By the way, is there something I have to do to show my preview in canvas the way you do it besides having the same syntax? I tried using "#Preview" then "{ContentView()}" but I get an error stating "Use of unknown directive '#Preview'"
Macros are only available on iOS 17+ (Xcode 15).
I figured that must be the reason. Thanks for clarifying!@@Kavsoft
Great tutorial! Do you know when does Xcode 15 and iOS 17 officially comes out? 😊
Around mid-September, I guess
Nice 👌
How to complete animation by iOS is below < iOS 17
I try follow but if Xcode not support iOS 17 it's can't do some function setup view
We can achieve this effect on iOS 16 too, but we need to manually read the scroll offset using overlay geometry preferences.
@@Kavsoft Do you possibly have a guide on how to do that?
@@mikoajdebicki9224 +1, I don't understand how to accomplish scrollTargetBehaviour(.viewAligned) prior to ios17
That was amazing. Thank you. I wish I can make the app that I am building be ios17 :(
😀👏
Really confused.....