Selam, I made somthing similar, actually the same as your code. I'm havign problems in persisting the prayer times. When the location services are turned off, it doesn't display anything (as we know). But I want it to still display the prayer times and The current city. Is there a way you can help? Maybe we can save the user's location coordinates within the app to calculate the times. This would help a lot, Thanks!
Hi, thanks a lot. I can't find the -> audioPlayer.loadAudio(from: url, title: audio.SurahName, artist: "Sleep Sound", image: audio.image) -Fumction in your code. Can you provide the missing part? PP
Hi, you're welcome. I think you want the code for this part. If I misunderstood, correct me. guard let url = URL(string: audio.fileName) else { return } audioPlayer.loadAudio(from: url, title: audio.SurahName, artist: "Sleep Sound", image: audio.image) audioPlayer.setupRemoteTransportControls()
Hocam Patreon'dan destek amaçlı kodu indirdim. 2 Telefonda da deneme amaçlı kullandım. Yatsı 'dan sonra kalan süre sıfırlanıyor ve çalışmıyor. Buraya yazdığım zaman ilginç bir şekilde yorumlar silindi. Yorumun silinme Sebebini de anlamadım. Patroen linkinede ne olur ne olmaz açıklamaya yazdım. Sizlerinde bilgisi olsun
Desteğiniz için teşekkür ederim. Evet, yatsıdan sonra sayılar sıfırlanıyor, yani bir yanlışlık yok. Sorun benden kaynaklanmıyor, aldığım API bu şekilde çalışıyor. Sabah namazına yaklaştıkça sayılar tekrar doğru vakti gösteriyor.
Yes, it's possible to add multiple videos in SwiftUI, but the way you add them can significantly impact the overall performance and size of your app. Embedding videos directly as files will substantially increase your app's size because the size of each video file adds to the total size of the app. This can slow down the download and update processes and consume significant storage space on your users' devices, especially if you're adding a large number of videos. Instead, you can host your videos on a web server or video hosting services and use only the video links in your app. This method keeps the download size of your app minimal, and videos are streamed when users decide to watch them. Here are the steps to use this method: Choose a Video Hosting Service and Upload Your Videos: Services like RU-vid, Vimeo, or AWS S3 are great options for hosting your videos. Upload your videos to these platforms and obtain a URL for each video. Play Videos in Your SwiftUI App:** Using the `AVKit` library, you can stream videos directly from the URLs. In SwiftUI, you can use the `VideoPlayer` component with `AVPlayer` to initiate video streaming from the URL. import AVKit struct VideoPlayerView: View { var body: some View { VideoPlayer(player: AVPlayer(url: URL(string: "video-url.com/video.mp4")!)) .frame(height: 300) } } This approach enhances the flexibility of your app and improves user experience, as users only download and watch the content they are interested in. Moreover, if you need to update your video content, you can do so directly on the server without needing to update your app.
Hi, During the live broadcast the other day, you requested a video. Since the comments were lost, I forgot what it was about. Could you please provide me with the details?
Assalamu alaikum, I’m from Dagestan, we’re great, it’s usually difficult for girls to code. I wanted to ask what courses or books you can use to develop in this direction. I'm still checking react, react native, I think that web applications are more flexible and are developing, catching up with the application code.
I need to handle swiftUI pages button's actions like click get lables etc from another normal swift class. I can handle such action using Viewcontroller but if page is designed with SwiftUI, i could not able to find anything please help
Hello, If you want to manage button actions of SwiftUI pages from other normal Swift classes, there are several ways to accomplish this. Here are some suggestions that might help you: Using the Combine Framework: The Combine framework allows you to manage data flow between SwiftUI and other Swift classes. You can use the ObservableObject protocol to observe data changes and respond to them. Using EnvironmentObject: EnvironmentObject is an object shared by many views. This allows you to use a data model throughout your application and communicate between SwiftUI views. Using Binding and State: Binding and State are another way to transfer data between views. In particular, a change in one view can trigger a change in another view. Interacting with UIKit: By transitioning between SwiftUI and UIKit, you can integrate UIKit components into your SwiftUI application and interact with UIKit classes. This can be done using the Coordinator pattern. Any of these suggestions may help you achieve your goal. If you have a more specific issue, I'd be happy to assist further. I hope this information is helpful to you. Best regards,
Thank you so much its very nice. I have a question: is this design ready to use in XCode or its just a design to make with SwiftUI. ❤ I wish i can make Quran App from scratch.
I Just Prepared This As a Design, But Maybe it may sound Like How to Make a Quran Application From Scratch, but I'm not sure about your comment, thank you very much
Really love the design of this app... Even if I don't understand Arabic or follow the Muslim religion, I love this app's minimal and straightforward design. Well done, bro!
@@ayh.co. thanks for the reply I really appreciate it. I’ve been following up on your videos, really great work. This particular video I commented on was what I most recently worked on. I saw how you worked your way through the firebase dependencies but I couldn’t do the same could it be as a result of my Xcode version? I use Xcode 12.1
I'm Really Sorry I Saw Your Message Now, I'm Sorry, The Problem May Be The Version, But I Need To Make Sure Exactly What You're Getting On The Line, Can You Tell Me More