nswindow close button for my splitview does not display cross while mouse hover

2012-10-16 Thread Sanjay Arora
Hi, I am creating a new Button like the window's close button to attach it to my splitview to give is same close action. The problem is the button does not displays cross while I the hover mouse over it. NSButton *closeControl = [NSWindow standardWindowButton:NSWindowCloseButton forStyleMask

Re: nswindow close button for my splitview does not display cross while mouse hover

2012-10-16 Thread Stephane Sudre
On Tue, Oct 16, 2012 at 9:35 AM, Sanjay Arora wrote: > Hi, > I am creating a new Button like the window's close button to attach it to my > splitview to give is same close action. > > The problem is the button does not displays cross while I the hover mouse > over it. > > NSButton *closeContro

Re: how to record audio from speaker on ios

2012-10-16 Thread Kyle Sluder
On Mon, Oct 15, 2012, at 11:41 PM, WUQWE wrote: > > I want to record video from iPad screen by AVCaptureSession & > AVAssetWriter. now,i could capture video(include microphone sound)。but, > The background music will stop when begin record video and the record > will stop when play sound effect.

Re: nswindow close button for my splitview does not display cross while mouse hover

2012-10-16 Thread Kyle Sluder
On Tue, Oct 16, 2012, at 12:35 AM, Sanjay Arora wrote: > Hi, > I am creating a new Button like the window's close button to attach it > to my splitview to give is same close action. > > The problem is the button does not displays cross while I the hover mouse > over it. > > NSButton *closeContr

Re: nswindow close button for my splitview does not display cross while mouse hover

2012-10-16 Thread Jens Alfke
On Oct 16, 2012, at 12:35 AM, Sanjay Arora wrote: > I am creating a new Button like the window's close button to attach it to my > splitview to give is same close action. > The problem is the button does not displays cross while I the hover mouse > over it. > NSButton *closeControl = [NSWind

Re: how to record audio from speaker on ios

2012-10-16 Thread Jens Alfke
On Oct 15, 2012, at 11:41 PM, WUQWE wrote: > I want to record video from iPad screen by AVCaptureSession & AVAssetWriter. > now,i could capture video(include microphone sound)。but, > The background music will stop when begin record video and the record will > stop when play sound effect. > M

Re: how to record audio from speaker on ios

2012-10-16 Thread Kyle Sluder
On Oct 16, 2012, at 8:45 AM, Jens Alfke wrote: > > On Oct 15, 2012, at 11:41 PM, WUQWE wrote: > >> I want to record video from iPad screen by AVCaptureSession & AVAssetWriter. >> now,i could capture video(include microphone sound)。but, >> The background music will stop when begin record vide

Re: Cocoa-dev Digest, Vol 9, Issue 724

2012-10-16 Thread WUQWE
在 2012-10-17,上午3:00,cocoa-dev-requ...@lists.apple.com 写道: > On Oct 16, 2012, at 8:45 AM, Jens Alfke wrote: > >> >> On Oct 15, 2012, at 11:41 PM, WUQWE wrote: >> >>> I want to record video from iPad screen by AVCaptureSession & >>> AVAssetWriter. now,i could capture video(include microphone

GameCenter difficulties

2012-10-16 Thread Rick Mann
I had a half-finished Game Center app and a half-dozen sandbox IDs. After resetting my passwords (since I had forgotten them), and trying to run under iOS 6 and Xcode 4.5, I can't get the sim and a phone to connect to each other. Each is logged into the sandbox under a different test Apple ID. E

UITextField adjustsFontSizeToFitWidth doesn't work?

2012-10-16 Thread Laurent Daudelin
I just realized while doing some testing that all my UITextField won't reduce the font size if there is more text to display than what the frame can show. I programmatically set the regular font size of the textfield to 13, minimumFontSize to 8 and adjustsFontSizeToFitWidth to YES, yet, the text