I am trying to switch from SFSafariViewCotroller to WKWebview for having more control over my webview.
When I try to load the Embedded youtube video ( https://www.youtube.com/embed/CeSAjK2CBEA ). I am getting an error ("An error occurred, try again later")
My existing project alone faces the issue. I have tried various project all of them works just fine. I even tried creating new projects all works fine.
If Anyone faced this issue let me know your solution. It's been days since I am trying to find out a solution.
Note: If I use other URLs like the watch link(https://www.youtube.com/watch?v=CeSAjK2CBEA) it just works fine.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
SplitView not as root
I want to use the SplitView in 4 screens in between my apps(it's a SDK). I don't get any lead in it
Presenting modal is not adviceable
Changing root it's not a good choice for SDK
Now we have a concept of Custom Container View controller :
As SplitviewController is also a View Controller why not we add them inside another Viewcontroller to present as a custom container view controller's child
Share your thoughts and experience in this.
Hi, 👋
I need to support one of my SDK with SplitViewController even SDK using app does not support SplitViewControl (mostly as root view controller)
So, we have 2 choice ✌️
Presenting our _SDK(SplitViewController is base view controller of SDK)_ as modalPresentation
Changing the apps rootviewcontroller as a splitViewController and presenting the SDK over it (We store the old rootViewController object when dismiss the SDK we replace the rootview to continue the app's nrml flow)
Both of this working fine in basic cases, but will this approach is good for a SDK or __may this result in issues __
Thank you, Have a nice day🤗
Hello,
As most of any app's behavior can be completed with ContainerViewController, but still we need modal presentation for a more concentrated and simple view presentation
But for me, I need to present a whole bunch of Complex SplitviewController of my framework as a modal presentation
But..
As I need to present splitViewController even my framework using app does not split as its root
I can't set the rootviewController as their hierarchy may affect
As of now Presenting My whole SDK(UISplitViewController as the Base) as a Modal Presentation is my only choice
Kindly give your thoughts wether its correct to present it modaly or any other way is better than this
Thank you , Have a nice day 🤗
Hello,
We all well know about the SplitviewController. Apple highly recommends it to use as a root view controller whenever we use it.
But for me, I have to use SplitViewController in a Framework where my SDK user apps may or may not support the Splitview. So, for common my SDK needs to support splitview even the Apps doesn't.
So here comes the ???
how to present SplitViewController rather than having it as RootViewController
Presenting modely is an option but still not fully aware of its pros and difficulties
What will be the correct way, does anyone tried it?
Even if you don't recommend this kindly share your thoughts about its disadvantages, thanks in advance.
Have a nice day 🤗
Mistakenly marked my previous question as SOLVED, created a new thread kindly refer to the old answer here or from the comment
Old Thread: https://developer.apple.com/forums/thread/699012
Hello,
We all well know about the SplitviewController.
Apple highly recommends it to use as a root view controller whenever we use it.
But for me, I have to use SplitViewController in a Framework where my SDK user apps may or may not support the Splitview. So, for common my SDK needs to support splitview even the Apps doesn't.
So here comes the ???
how to present SplitViewController rather than having it as RootViewController
Presenting modely is an option but still not fully aware of its pros and difficulties
What will be the correct way, does anyone tried it?
Even if you don't recommend this kindly share your thoughts about its disadvantages, thanks in advance.
Have a nice day 🤗
I have a core data,
Entity:
Name
Service
Time
I am grouping this with the name
Now I am sorting this with the Time
Entity 1
name: A
Service: S
Time 1
Entity 2
name: A
Service: S2
Time 2
Entity 3
name: B
Service: S3
Time: 3
after grouping What will be the time and service for grouped entity of fire two?
Grouped Entity
name: A
Service: ????
Time: ????
Entity 3
name: B
Service: S3
Time: 3
Is there Any property in core data to specify this