Here is the code:
float charlieSoundVolume;
charlieSoundVolume = [charlieSoundLevel floatValue];
NSRunAlertPanel(@"CHARLIE",charlieSoundVolume, @"", @"", @"Ok");
This gives me the error:
incompatible types for argument 2 of ‘NSRunAlertPanel’
Will NSRunAlertPanel not accept floats?
Any ideas??
Elijah
I’m not sure why you’d be surprised that it doesn’t take floats given the documentation:
Pass a string.