Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,472 results found

Post

Replies

Boosts

Views

Activity

Drawing a single character with Core Text
I'm trying to rebuild a method to draw a single character as an image for an applicaiton icon. This previously worked with UIGraphics calls, but because of image orientation issues and the nil ContextRef warnings, I want to use a cleaner solution. I found this code to draw the text image online (credit raywenderlich.com):CGContextRef context = UIGraphicsGetCurrentContext(); CGMutablePathRef path = CGPathCreateMutable(); //1 CGPathAddRect(path, NULL, self.bounds ); NSAttributedString* attString = [[NSAttributedString alloc]initWithString:@A]; //2 CTFramesetterRef framesetter = CTFramesetterCreateWithAttributedString((CFAttributedStringRef)attString); //3 CTFrameRef frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, [attString length]), path, NULL); CTFrameDraw(frame, context); //4 CFRelease(frame); //5 CFRelease(path); CFRelease(framesetter);I've dynamically determined what I thought was a centered CGRect that will fit in my bounds. However, the text shows up VERY small at the top l
3
0
1.9k
Jun ’15
First install impressions?
Anyone get to it yet? Seems like a rather un-intimidating beta this year. Any first impressions on general relibality? (besides whats in the release notes)I have 2007 MBP 15 I'll load it on. If there is ever a good preformance stress test, it's on old hardare. (also itching to try iOS 9 on my iPad 2)
29
0
4.2k
Jun ’15
Reply to can't download
Same issue. I agreed to the new agreements and paid the $99 since I presume my last years account expired. Says order was processed and will be electronically delivered but haven't recieved any emails other than the order email. That was two hours ago and still doesn't show that Im an active developer when I try to download iOS or OS X. Not sure I need to keep waiting or if maybe my order got stuck in limbo during the initial launch of the new program? My card was charged.And if I try to re-enroll again, after entering in my info it says, We are unable to process your request. An unknown error occurred.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Split View
Split View will only work on an iPad Air 2, check out this table (scroll down a little): https://developer.apple.com/library/prerelease/ios/documentation/WindowsViews/Conceptual/AdoptingMultitaskingOniPad/index.html#//apple_ref/doc/uid/TP40015145-CH3-DontLinkElementID_2Are you using an Air 2?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to No symbols for paired Apple Watch
Looks like I've solved this simply by disconnecting and reconnecting the phone.EDIT for Beta 2: I'm seeing the same issue as everybody else respodning after 6/24. My phone+watch target is listed as ineleigible for the reason: (no symbols for paired Apple Watch). Unmarking this answer as correct.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
I want to put bordercolor with uiview by swift.
Hi there.I want to put bordercolor with uiview by swift,but i can't do it on iOS7.----------------------------self.layer.borderColor = UIColor.blackColor().CGColorself.layer.borderWidth = 1.0---------------------------This code can be used on iOS8,but it can't be used on iOS7.In iOS7,i imported 'quartzcore' in my code,i couldn't do it.what should i do?Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
6
0
4.4k
Jun ’15
Reply to **Organizing an entire list of Unstable Apps**
My 1Password seems to be functioning correctly. I will say this, mine uses iCloud syncing and I had a lot of trouble with my 10.11 install until I signed out of iCloud completely and signed back in fresh. My iPad did not have any such issues.Air 2 running 9 beta 1I noticed some other folks talking about SSL issues, perhaps there is an underlying bug with the networking stacks.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15