Post not yet marked as solved
Ios 15 iphone 7+ safari and chrome cant open videos they stay black
Post not yet marked as solved
I have a 2020 M1 Macbook Air with macOS 12.4. SafariBookmarksSyncAgent trying to sync bookmarks with other Apple devices. But It is annoying that it write too much to SSD. And it is keep increasing. It does not make sense to write that much just for sync bookmarks with other devices.
As a comparison, I checked my Intel-based Macbook Pro running macOS 11.6.1, it does not have this problem at all. SafariBookmarksSyncAgent writes to SSD only 356 KB and increase very slowly.
Is this cause by a bug in macOS 12? Is there any solution to this problem?
Post not yet marked as solved
I am very new to iOS programming. I am familiar with xcode and swift, but I want to do research on those web applications that come from websites.
So you know how some websites are set to when you add them to the home screen of your iDevice, it creates a mini application on your device? I'm wanting to know what are those calls so I can start doing research on how to create them. I'm very good with web development but I haven't discovered how to create those yet.
Any point in the proper direction will be greatful. Thank you.
Post not yet marked as solved
With the iOS version 15.5 the CCS object-fit attribute does not work initially on Safari with videos anymore. When we inspect the DOM and uncheck the attribute, to recheck it, it works. But, of course that's not a proper workaround. Adding "important" does not work as well. If you reset the height: The result is flickering. On 15.4 everything works as expected.
Post not yet marked as solved
On macOS we have SFSafariExtensionManager and
class func getStateOfSafariExtension(withIdentifier: String, completionHandler: (SFSafariExtensionState?, Error?) -> Void)
Which allows us to inform the user in the container app if the extension is currently enabled.
This API is not available in iOS. Is there a technical reason or policy behind this or is it just a missing feature in which case I will raise a feature request?
Post not yet marked as solved
Hello,
I am in the process of converting a Web Extension to a Safari Extension. I need to use browser.downloads.onCreated.addListener in my extension but the browser.downloads API is not supported yet.
Do I have another way to do that?
Post not yet marked as solved
My project and 3rd-party library have the following code, but it is working incorrectly on iOS16, so I tried debugging it.
if let error = value as? Error {
reject(error)
} else {
fulfill(Promise<Value>.asAnyObject(value))
}
The cause of incorrect operation was recognized as 'Error' even though the value type was 'String'.
The reproduction conditions are as follows.
iOS16 Beta
Add 'SafariServices.framework' to Xcode project
Xcode version does not matter (13.4, 14.0 beta all occur)
The key here is number2. If you create a sample project and add only 'SafariServices.framework' to the project, the result of the code below is true.
let stringValue: String = "abc"
print(stringValue is Error)
So I'm guessing that the following code is in 'SafariServices.framework' of iOS16Beta.
extension String: Error {}
I wonder if this kind of code actually exists in the framework, and I wonder if this is intended. If so, this code is syntactically acceptable, but since it can affect the operation of the application a lot, I think that it should not be added in the core library such as 'SafariServices.framework'.
If possible, I hope to fix it in the next iOS version.
Post not yet marked as solved
I am building a safari extension app. the code(html, css, javascript) for the safari extension that is in the AppExtension directory works good, but when I added button to Main.html to make an Action, to make the app dynamically change (the application itself not the extension), and I want to send data from the app to the extension on Safari.
Could anyone help me to fix this issue.
This my html code:
<!--Main.html -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="../Style.css">
<script src="../Script.js" defer></script>
</head>
<body>
<!--The makeAction() function is defined in the `Script.js` file -->
<button onclick="makeAction()">Dropdown</button>
</body>
</html>
And this is the files structure
Post not yet marked as solved
Hi
I have installed IOS 15 beta and have problem with safari.
The problem occurred when I closed one of the browser tabs, but when I turned on safari again, this tab came back.
after I closed this tab a few times, the safari stopped working and I couldn't even turn on safari.
When i click on the safari icon it won't turn on, it looks like i was opening and closing applications immediately safari before it loads.
Post not yet marked as solved
I have used Safari as my primary browser for years now and it has evolved. Some very good updates and some bad.
I have noticed since iOS 14 I believe when Apple started slowly implementing more security features that pages would show up wonky or unresponsive at times, but a clear browsing history and cookies would fix this issue. Then in iOS 15 and now 16b1 it’s become almost unusable on certain pages.
Again these issues have been ongoing since the updated security features started rolling out and in non beta releases
For example. Some pages won’t load completely or when you try to use a drop down menu the pictures would overlap the drop down.
Resets or clearing cookies/cache, history would not fix this issue. Even turning off some of the privacy features wouldn’t resolve this. Menus have become unresponsive, ie. registering a new user on a forum. The menus would are static with no way to change or update your dob or address.
I hope this makes sense so far.
So here is what I have turned on and added extensions.
Tracking is off in privacy & security
[on] Block pop ups
[on] Prevent cross-tracking
[on] Hide IP and Address - Trackers & Websites // I can’t see it but I believe the Trackers & Websites is set to general location//
[on] Fraudulent website warnings
[on] Privacy Preserving Ad Measurements
All Advanced Safari settings are default and have not been touched
Extensions - 1Blocker (only these below are on)
[on] Block Ads
[on] Block Adult Sites
[on] Block Annoyances
[on] Block Trackers
I have tested things for months now, toggling these off and back on. Trying to find the combination that works. I even removed all extensions and ran just the safari settings by themselves and it still renders some type of misfire with sites (menus being static or pictures over lapping drop down menus)
The title says it all.
How can I get safari back to working and have these privacy features on without the extra bugginess that Safari is doing?
Thanks in advance!
Post not yet marked as solved
I'm working on ContentBlocker safari extension to block URLs.
when the extension is disabled I want to redirect users to Settings/Safari/Extension.
I tried these.
prefs:root=Safari
prefs:root=SAFARI&path=Content%20Blockers
none of them is working.
Can any please provide me proper solution?
Post not yet marked as solved
My project and 3rd-party library have the following code, but it is working incorrectly on iOS16, so I tried debugging it.
if let error = result as? Error {
reject(error)
} else {
fulfill(Promise<Value>.asAnyObject(result))
}
The cause of incorrect operation was recognized as 'Error' even though the result type was 'String'.
The reproduction conditions are as follows.
iOS16 Beta
Add 'SafariServices.framework' to Xcode project
Xcode version does not matter (13.4, 14.0 beta all occur)
The key here is number 3. If you create a sample project and add only 'SafariServices.framework' to the project, the result of the code below is true.
let stringValue: String = "abc"
print(stringValue is Error)
So I'm guessing that the following code is in 'SafariServices.framework' of iOS16Beta.
extension String: Error {}
So, I wonder if this extension was added and if this was intended.
I think this code is syntactically acceptable, but it should not be added in the core library such as 'SafariServices.framework' because it can affect the operation of the application a lot.
If possible, I hope to fix it in the next iOS version.
Post not yet marked as solved
I've made a web view app and it's live on the google play store I just want to ask can I publish it on AppStore or either it restricted?
Post not yet marked as solved
Hi, I am writing apps in C++ and Objective-C.
I created an instance of ASWebAuthenticationSession and set the presentationContextProvider.
Then when I started the session, the app crashed with EXC_BAD_ACCESS (KERN_INVALID_ADDRESS).
When I checked the crash log, I found an exception in [SFSafariViewController _setEdgeSwipeDismissalEnabled:].
But since this method is defined within the iOS framework(Xcode13.2.1), I don't know which field is causing the crash.
I've done some testing, but I don't get much information :
-I have enabled "Zombie Object" and "Address Sanitizer",however I was unable to get any additional information.
-I tried to create a new project and used ASWebAuthenticationSession with the same arguments, but I could not reproduce the problem.
Can someone please help or any other advice on finding the reasons for this error?
OS Version: iPhone OS 14.7.1 (18G82)
Release Type: User
Baseband Version: 8.80.01
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000010000
VM Region Info: 0x10000 is not in any region. Bytes before following region: 4338286592
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 102960000-10391c000 [ 15.7M] r-x/r-x SM=COW ...pp/Disgaea4sp
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [35391]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001b3824148 objc_msgSend + 8
1 SafariServices 0x00000001b965906c -[SFSafariViewController setEdgeSwipeDismissalEnabled:] + 84
2 SafariServices 0x00000001b962cd5c -[SFBrowserRemoteViewController setRemoteSwipeGestureEnabled:] + 64
3 CoreFoundation 0x000000019fab7a10 invoking + 144
4 CoreFoundation 0x000000019f999720 -[NSInvocation invoke] + 300
5 libdispatch.dylib 0x000000019f6eb298 _dispatch_client_callout + 16
6 libdispatch.dylib 0x000000019f6905b8 _dispatch_block_invoke_direct$VARIANT$mp + 224
7 FrontBoardServices 0x00000001ae5d9e04 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 40
8 FrontBoardServices 0x00000001ae5d9acc -[FBSSerialQueue _targetQueue_performNextIfPossible] + 404
9 FrontBoardServices 0x00000001ae5d9fa0 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
10 CoreFoundation 0x000000019fa328a8 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
11 CoreFoundation 0x000000019fa327a8 __CFRunLoopDoSource0 + 204
12 CoreFoundation 0x000000019fa31afc __CFRunLoopDoSources0 + 256
13 CoreFoundation 0x000000019fa2c018 __CFRunLoopRun + 768
14 CoreFoundation 0x000000019fa2b7d0 CFRunLoopRunSpecific + 572
15 GraphicsServices 0x00000001b616d570 GSEventRunModal + 160
16 UIKitCore 0x00000001a23582d0 -[UIApplication _run] + 1052
17 UIKitCore 0x00000001a235d84c UIApplicationMain + 164
18 applicationName 0x000000010296a1e4 main + 41444 (main.m:6)
19 libdyld.dylib 0x000000019f70a140 start + 4
Post not yet marked as solved
An iOS application of ours we develop for a client was recently rejected as it was claimed we violate Guideline 5.1.2.
The App Review team's justification was:
We noticed your app accesses web content you own where you collect cookies. Cookies may be used to track users, but you do not use App Tracking Transparency to request the user's permission before collecting data used to track.
The App Review team included a screenshot of our client's website which they had navigated to via a button found in our client's SSO login flow. Their main website has a cookie policy which seems to be the cause of the rejection.
Clearly our client's main website should not be accessible via their SSO login flow but this opens a wider question and concerns from our client.
We open the SSO login flow within an ephemeral ASWebAuthenticationSession. The documentation of which states:
Set prefersEphemeralWebBrowserSession to true to request that the browser doesn’t share cookies or other browsing data between the authentication session and the user’s normal browser session.
https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession/3237231-prefersephemeralwebbrowsersessio
We interpret that and the fact that there is no API on ASWebAuthentication to extract cookies from it into the hosting iOS app to mean that we do not store cookies in our iOS app and are therefore not in violation of Guideline 5.1.2.
We also assume the same thing applies to SFSafariViewController (which we also use to sometimes display pages from our client's website which, to reiterate, has a cookie policy). It's documentation states:
The user's activity and interaction with SFSafariViewController are not visible to your app, which cannot access AutoFill data, browsing history, or website data
https://developer.apple.com/documentation/safariservices/sfsafariviewcontroller
After having read the documentation we see no reason why accessing a website with a cookie policy within either an ephemeral ASWebAuthenticationSession or an SFSafariViewController would warrant the hosting app to include App Tracking Transparency. I am assuming that due to the nature of these APIs (as they do not give cookie access to the hosting app) that they are exempt.
Could someone please either:
Provide documentation that states if an ephemeral ASWebAuthenticationSession or an SFSafariViewController accesses a website with a cookie policy App Tracking Transparency is required.
or
Confirm that we are not in violation of of Guideline 5.1.2 and we should appeal the rejection.
Many thanks
Post not yet marked as solved
Hi,
very new to Xcode and trying to learn. I have a website which I have created and have running in a stand alone app. I have however seen webpages which once saved to homescreen run as their own app. How do I do this? Is this Xcode related or is it through another means? Any help would be greatly appreciated.
thanks
Post not yet marked as solved
Hello there!
After update of iOS15 quick-look does not work properly with SafariServices that we use on our native web.
For example; if you open this link on twitter https://developer.apple.com/augmented-reality/quick-look/
just click model to use quick-look, you will see AR part is not working..
Post not yet marked as solved
I am using iPhone 7 for "sign in with apple" with iOS 13.
I have native app and I am trying to sign in using apple ID with Touch ID.
Seeing blank screen when user is continues with Touch ID.
Able to authenticate via apple sign in if user clicks on use a different Apple ID.
Issue is seen only on iOS 13.
Post not yet marked as solved
Requirement :
Safaridriver provide option to disable Use Mock Capture Devices when use webdriver.
Problem :
In Mac OS, when use Safaridriver open a Safari browser for WebRTC samples, the audio input source only display Mock device (audio: Mock audio device 1/ Mock audio device 2 , video: Mock video device 1/ Mock video device 2) but not display Mac OS physical audio/video device .
From safaridriver readMe, seems no configure can set Use Mock Capture Devices , because WebDrier test not support live media capture
"For security reasons, Safari does not permit live media capture during a WebDriver test session. Instead, mock capture devices and streams with well-known contents are provided for testing purposes. "
(In Mac OS, cd/Library/Apple/System/Library/CoreServices/SafariSupport.bundle/Contents/MacOS , man safaridriver)
From safaridriver debug log, safaridriver not provide any configure for disable Mock device.
Reference :
WebRTC samples link:
https://webrtc.github.io/samples/src/content/devices/input-output/
safaridriver debug logs:
[safaridriver.82081.txt]
(https://developer.apple.com/forums/content/attachment/3806528b-d972-4459-8647-d4e6a4aae20a)
Reproduce demo:
SafariDriverDebug.java
pom.xml dependency:
Post not yet marked as solved
I have an iPhone 7Plus and I am currently on iOS 15.4(Lastest update for me). Ever since I've installed any iOS 15 update the web videos haven't been working and i haven't been able to watch any video sent by link or searched. Ive tried going to settings but I couldn't find the GPU media setting.