Search results for

file uri scheme

78,592 results found

Post

Replies

Boosts

Views

Activity

AVAssetWriter always exports at 601
hi,i'm exporting BGRA frames to h264 through AVAssetWriter on iOS.no matter what information i tag the source CVPixelBuffer(s) with (709 CGColorSpace, 709 primaries, 709 transfer function, 709 conversion matrix), the resulting file seems to always be using 601 primaries.if i tag the file as 601 and open it back up through AVFoundation the colors seem to match the source.i've found this comment on the internet in some opensource software...* AVAssetWriter will use BT.601 conversion matrix for RGB to YCbCr conversion * regardless of the kCVImageBufferYCbCrMatrixKey value. * Tagging the resulting video file as BT.601, is the best option right now. * Creating a proper BT.709 video is not possible at the moment. */my tests seem to confirm that this is the case.can someone how knows more confirm this?thanks
0
0
345
Jun ’15
Reply to Need Help With WKInterfaceTable
Yeah seems like a bug. For example if the code is this:// // Pre: Interface builder set // table row's group // height == Size To Fit Content // label inside table row's group is // Lines == 0 // Size Width == Size To Fit Content // Size Height == Size To Fit Content // Assuming table is populated with this self.myData = @[@0, @1 is something that should span 1 line, @2 some more long text that spans, @3, @4, @5, @6, @7, @8, @9, @10 some additional long text that is loooong!]; // scrolling to 9th item does not show 9th item but barely shows 7 cut off at bottom of screen [self.myTableView scrollToRowAtIndex:9];Will result in a table that barely scrolls to the 7 instead of 9. Are you going to file a bug? If not, I can...
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Reply to Anyone gotten coverage to work in xc7wwdc in a non-trivial app?
I've personally seen code coverage results for some very large projects. Right now the support works best for applications and frameworks. If that's what you're testing, then it would be best if you could file a bug report at <https://bugreport.apple.com> so that we can investigate your particular circumstances. For that matter, a bug report would be a good thing no matter what type of project you have. If possible, it's best to actually in the project with the report. If you can't do that, describe its setup in as much detail as possible. Pictures are good.
Jun ’15
Reply to Xcode Code Coverage results
That tech note describes using gcov, and is not part of Xcode 7's code coverage support. For Xcode 7, there's a Coverage.profdata file that's produced down inside the CodeCoverage directory of the Intermediates folder of your project's build directory. That file can be read by the llvm-cov command line tool.
Jun ’15
Reply to Verifying Search APIs are working?
For things like the NSUserActivity and CoreSpotlight APIs you should be able to add that code, run it on a device, then go into Search on your device and search for things like the keywords, description, or content you've added to the local device index. If something isn't showing up when you'd expect it to please file a bug report, preferably with a small sample project illustrating the issue.
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Correct Dragging NSPasteboard File Promise
I've been sifting through the newer APIs and header comments for adding file promises to the pasteboard during dragging, and have a question. Assuming the code below, should I write something back to the pasteboard/item at the end of a file promise?-(void)mouseDown:(NSEvent *)theEvent { NSPasteboardItem *p = [NSPasteboardItem new]; [p setDataProvider:self forTypes:@[NSPasteboardTypeTabularText, NSPasteboardTypeString, NSPasteboardTypePDF, (__bridge NSString *)kPasteboardTypeFileURLPromise]]; [p setString:kUTTypeXLS forType:(__bridge NSString *)kPasteboardTypeFilePromiseContent]; NSDraggingItem *i = [[NSDraggingItem alloc] initWithPasteboardWriter:p]; NSSize s = NSMakeSize(64, 64); [i setDraggingFrame:(NSRect){[self convertPoint:theEvent.locationInWindow fromView:nil], s} contents:[NSImage imageWithSize:s flipped:false drawingHandler:^BOOL(NSRect dstRect) { [clipping drawInRect:dstRect]; return true; }]]; [self beginDraggingSessionWithItems:@[i] event:theEvent source:self]; } #pragma mark NSD
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
1.1k
Jun ’15
app crashes at launch as release build on iPhone - but debugging is fine
I have imported ios-charts in my Objective-C project, and running it in debug mode is fine. However, today I tried to archive and ad-hoc distribute my app, the app crashes at launch...I have set the swift optimization to none for release mode, still no luck.I have no log or trace since it's installed on iPhone 6. I am looking for help if anything I missed...I tried to remove all swift stuff and archive, everything is as usual now. However, once I drag the swift files into my Objective-C based project, Run(debug) the app is fine. But if archive(release) and install it on iPhone, immediate crash at launch. Anything what I am missing?I am with latest Xcode and swift official release
5
0
8.6k
Jun ’15
Symbol Not Found
I recently was playing around with something in Xcode using a project created using the OS X Command Line Tool. I am fairly new when it comes to objective-C (will move to Swift soon) and was playing around with mathematical constants. An example of a very simple piece of code would be:NSLog(@u03c0 is %f, M_PI);Output --> π is 3.141593I wanted to view the definition for M_PI in the math.h file. But when I command-click on the contant M_PI in the code, I get a small error box that pops up with a question mark and test above it stating, Symbol Not Found. I have searched far and wide for a solution. One such solution, seemed promising, telling me to navigate to Xcode/preferences/locations and navigate to the derived data and delete its contents. This was unseccessful. I am out of ideas and really hope someone might be able to assist me! Thanks in advance.
2
0
1.4k
Jun ’15
Reply to CoreSpotlight error (iOS9)
Could you file a bug report (bugreport.apple.com, or use the Report Bugs link at the bottom of this page) and include the entire console output from the device you're experiencing this on? What kind of device is this? Please post the bug number after filing it. Thanks!
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Reply to Apple watch initiate call
If you're specifically referring to how to initate a call from your apple watch app code. Check out the Phone Links URL scheme reference that is now avalible is watchOS 2.0https://developer.apple.com/library/prerelease/watchos/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html#//apple_ref/doc/uid/TP40007899-CH6-SW1
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode bot fails checkout
I'm upgrading my CI box to El Capitan and Server 5.When the bot tries to checkout my repo it fails yielding an error such as :Bot Issue for GhostNote appStore_dev Bot (build service error)Integration #3 of GhostNote appStore_dev BotOpen in Xcode: xcbot://(null)/botID/3159aaf58ba762d3b34fc451b6009b50/integrationID/3159aaf58ba762d3b34fc451b600fe32Failed to stat file '/Library/Developer/XcodeServer/Integrations/Caches/3159aaf58ba762d3b34fc451b6009b50/Source/ghostnotes/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/GhostNote/Ghost
1
0
443
Jun ’15
Reply to Where are the simulators for iOS Deployment target 8.3?
Hey KMT,- Note I originally dragged in a few png screen shots, but they don't actually display when I save them.When I create a new single view app in Xcode Version 6.3.2 (6D2105) the project pane above targets xcode sets the iOS Deployment Target to 8.3, and in the Scheme drop down, iOS Device is the only item available. When selecting the Drop down, there are no Simulators at all. But when I change the iOS Deploy Target to 8.2, I can then select various simulators.In my preferences I don't have 8.3 simulators, and can't download any as there are no options to do so.Do you have 8.3 Simulators? I did notice this behavior on my work Mac as well, so I figure that Apple overlooked this in the build.Perhaps I need to delete Xcode, and re-install it? Note: I actually routinely download the new version from the Dev center and not thruthe App Store.Thanks for lending your thoughts...
Jun ’15