Search results for

file uri scheme

79,839 results found

Post

Replies

Boosts

Views

Activity

EXC_BAD_ACCESS : UIButton : touchDown() : Release Scheme
The following code crashes in XCode when run on a 'Release' scheme to crash (on any iDevice).It crashes with EXC_BAD_ACCESS(code=EXC_I386_GPFLT) trying to do a 'swift_arrayDestroy' with Xcode on line 19.Note : It does NOT crash when running on a 'Debug' scheme.+) Can anyone else reproduce this (just cut an paste -> Run -> click a few times on the RED Box that appears on the screen).+) Any ideas if this is a program error or an Xcode Release optimisation bug?+) Does anyone know if '@objc func touchDown(_ sender: MY_UIButton)' is safe?Should I use 'Any' .. and then attempt to cast to 'MY_UIButton'.Thanks,AJ.import UIKit var g_but = MY_UIButton(frame: CGRect(x: 100, y: 100,width: 200,height: 200)) let g_false = false let opt_zero : Int? = 0 class EMPTY_CLASS {} let g_empty_arr : [EMPTY_CLASS] = [] class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() g_but.backgroundColor = UIColor.red view.addSubview(g_but) g_but.addTarget(g_but,action: #selector(MY_U
1
0
1k
Apr ’18
AssetId is malformed in Safari Demo Application if URI is greater than 16 characters
Hi,I have noticed that when I use an AssetId that is greater than 16 characters long I see that the initData is Safari seems to include some random characters at the beginning - e.g $skd://....This breaks the AssetId extraction logic in the demo app. Here is the logging (added by me) from playback of the example content twelveAssetID : skd://twelveHostname :twelveAnd with playlist file edited so that assetID is twelvetwelveAssetID : $skd://twelvetwelveHostname :192.168.8.69 - this is the private IP that I am hosting the sample app on...OSX 10.11.6Safari 9.1.2Has anyone else seen this?Thanks,
5
0
1.1k
Sep ’16
URL Schemes in Google Search iOS App
Hi,We are from MasterCard iOS development team.We have a web application from which we are opening iOS apps using custom url schemes. This functionality works fine for the all the browser (Safari/chrome).But When we tried to open the same web app from Google Search app and then if we try to open iOS app on the same device using custom url schemes it does not do anything.From our research we are assuming Google search app in iOS is a native iOS app and has embedded web view.And according to Apple if we try to open custom url schemes from embedded web view, we must implement web view delegates in the app which is embedding this web view.Could you please give us more inputs or the resolution for opening the apps using custom url schemes from iOS Google Search app.
Topic: Safari & Web SubTopic: General Tags:
0
0
1.3k
May ’20
Reply to How can I trigger the Full Disk Access prompt to write to a raw block device?
Update: notes to self: looks like it may be a hacky-do of using a uri to open system preferences, polling until a known-inaccessible file becomes accessible, and then forking a call to authopen, dupilating a descriptor, and carrying on... https://github.com/raspberrypi/rpi-imager/tree/qml/src/mac https://github.com/MacPaw/PermissionsKit/blob/master/PermissionsKit/Private/FullDiskAccess/MPFullDiskAccessAuthorizer.m#L140
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’25
Reply to Sign interpretation as alternate media in HLS
Are you talking about two equivalent video versions - one with someone signing the audio? If so, here's the simplest example I can think of - two video options, each with three bit rates and also trick play versions of same. The audio is multiplexed with the video to make the playlist simpler. You end up with a group-id for each video variant. Note the lack of URI for the Plain option - so that option is the same as the variant. I'm not sure how well third-party players will handle this. #EXTM3U #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=500kbs,NAME=WithSign,AUTOSELECT=YES,DEFAULT=NO,URI=Item/WithSign/500kbs-AV/prog_index.m3u8 #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=500kbs,NAME=Plain,AUTOSELECT=YES,DEFAULT=YES #EXT-X-STREAM-INF:BANDWIDTH=750000,CODECS=mp4a.40.2, avc1.4d401e,VIDEO=500kbs Item/Plain/500kbs-AV/prog_index.m3u8 #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=1Mbs,NAME=WithSign,AUTOSELECT=YES,DEFAULT=NO,URI=Item/WithSign/1Mbs-AV/prog_index.m3u8 #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=1Mbs,NAME=Plain,AUTOSELECT
Topic: Media Technologies SubTopic: General Tags:
Oct ’22
FileWrapper and duplicate children naming scheme
I have a FileWrapper that holds a bunch of child documents. FileWrapper automatically handles assigning unique filenames to duplicates, but it does so in a pretty ugly manner – rather than, for example, Untitled, Untitled 2, Untitled 3 it gives me:Untitled, and then 1__#$!@%!#__Untitled, 2__#$!@%!#__UntitledIs there a better way to assign names to these? Ideally I'd be able to supply a desired scheme for unique-ifying filenames, like a format string. Otherwise, what's the best way to ensure a child wrapper gets a sane suffix when there's duplicates?
Topic: UI Frameworks SubTopic: AppKit Tags:
4
0
1.2k
Apr ’18
How create a private SDK Scheme used only for Main Project?
How to create a scheme that should have the ability to provide public methods that are only accessible to the main application. For example, I have my Main Test project on XCode, I added my custom local Dependency Swift Package SDK, and I want to create a scheme only for access to the swift classes SDK and SDK+TestApp, the main project must not access/could to any other file, I research in the official documentation but are the main example, I'm looking for theses specifically details, any help, please?
0
0
593
Nov ’22
Reply to SwiftUI and dragging a file onto the app icon
So it does help to drag the file to the right icon... (since I was debugging it under Xcode, but had the real one in my dock). That seems to do it better, but weirdly, it's not happening the first time I drag a file onto the icon. Also, I have this in the main view: .handlesExternalEvents(preferring: [my-scheme], allowing: [my-scheme]) // activate existing window if exists .onOpenURL { url in // stuff } and both the .openURL and the app delegate method are being triggered. I think this is probably due to confusion on my part, though.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24
Test plans being deleted and replaced by old test schemes
I am currently using Xcode 15.2, but I am sure this issue exists on other versions too. If you have any packages made pre Xcode 14.3, i.e. ones without an automatically made test plan, then the following issue happens: Let's call the package in this example PackageX, and you have with this a corresponding test scheme, called PackageXTests. PackageXTests is a test scheme saved on disk, that is on the test scheme of PackageX, meaning that when you test the package directly, it will run the test scheme. Now, with test plans becoming the norm, we want to move away from having these test schemes on disk and instead align old packages with new and have each package's tests dictated by its own corresponding test plan, the same way that any newly made package would work. So we click 'convert to test plan', success we have a test plan, we delete the test scheme from the disk. All appears to be working fine. However, if you now swap branch and come back, the test pl
0
0
908
Mar ’24