I'm using Core Audio / OpenAL to play CAF audio files. From Apple I know that the best file format is this:
Core Audio File Format (CAFF), mono, 16-bit @ 44,1 kHz
So I launched Soundtrack Pro 3 and saved an WAV file as an "Core Audio File" with 44,1 kH, 16-bit integer.
When I play it back, it is strongly distorted and has a horrible q...
I am trying to render text to a shape that isn't a rectangle. The following code works when I add a rectangular path but not when I add an elliptical path. Ultimately, I'd like to draw to any path (L shape, etc), has anyone had any luck with this?
-(void)drawRect:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext();...
Hi.
I got the "objc_msgSend()" killer error message in my app and thanks to Hamster Emporium
i can figure out a little bit what was happening.
Now i found the "problem" and the "solution", but what i can't understand why my problem was really a problem.
Here is the scenario:
Object_A --> Object_B --> Object_C
The '-->' symbol re...
I need to present a modal view controller and be notified when it is dismissed or notified that I need to dismiss it, looking here I am still confused:
http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/ModalViewControllers/ModalViewControllers.html#//apple_ref/doc/uid/TP40007457-CH111-SW14
I have my m...
My app parses XML from remote server and store the objects in Core Data(SQLite storage). So that user can browse the material when OFFLINE by reading from local storage.
User may make changes to objects when browsing offline which gets stored locally in Core Data SQLite store. Another User makes some changes to object on Remote server ...
I am developing for iPad and have created a standard UISplitViewController application using the template provided in Xcode - a standard UITableView on the left and a detail view on the right.
I have modified the template so that when a user selects a table cell from the left view it pushes a new table view in it's place (still on the l...
Right now I am developing a Webbased Application, where the User has to login first.
When I open the Page by iPhone Safari, login and restart Safari, I am still loggedin (Cookie & Session ID still set)
But when I add this Page with "Add to Home Screen", each Time i click the Icon for that page, I have to login again.
I did not found a...
I have tried many methods to implement a regular UISlider and control the device volume, but it's all Native-C functions which results in many untraceable bugs.
I tried the MPVolumeView it works like charm, it even controls the device volume even after you close the app, just like the iPod app.
My question is, is there anyway to custo...
I am calling –writeToFile:atomically: on an NSData object which contains a video I just shot.
The file is not being written and if I use the version that returns an erorr object, the error is nil.
My code is:
if ([[info valueForKey:UIImagePickerControllerMediaType] isEqualToString:@"public.movie"]) {
NSURL* url = [info valueFor...
I am trying to learn Monotouch and have an SQLite db with information.
Using the examples here I can open, fill and query the database (which is set as "Content" in my project), but when I rerun the program, no data exists in the database again.
I am guessing that somehow I have to save the database file to the Documents directory after...
Hi all,
I got a little problem. I use some images in my app. Today I wanted to replace them with new ones. But when I build and run the project I still get the old ones. I tried to touch the project and the new images but nothing seems to work. I deleted all references and files and imported the new images, but I still see just the old ...
Hi,
I'm developing a simple game that relies heavily on MoviePlayer and supporting both 4.0 and 3.1 is a pain..
So I'm wondering - how many potential users would I lose if I'd abandon 3.1? Any stats or estimates available?
Cheers,
Tomasz
...
Is it possible to "link" UILabel text property with another NSString so that when this other NSString is changed also UILabel text property changes?
Example:
UILabel *label = [[UILabel alloc] init];
NSString *str = @"labelText1";
label.text = str;
str = @"labelText2"; //after this assignment label.text is still "labelText1"
...
How can I can I make a "to" field like sms application?
Like, having a "+" button to right, when adding someone the name will be highlighted and clickable like the rounded rect etc.
Is there any built in framework?
...
How to adjust the volume of a sound in OpenAL?
...
i was trying out quartz 2d today and i got to learn basic drawing and other things, but now, somehow everything i do doesn't draw a thing on the iphone screen! i tried making a new project and starting from scratch but still no luck... first, i made a new view based application, and then created a new file (.h and .m) as a subclass of UI...
Hello how can we do the note-taking application using natural handwriting in iPad like the application WritePad for iPhone did?
How can we recognize the finger writing and how can we convert it into natural handwriting in the iPad,is there any public API's.
Any suggestions or any example code would be appreciated.
Thanks in advance:)
...
Is it even possible to enable the HDR option from within my application? I assumed it would be there automatically. I looked for additional mediaTypes, thinking maybe kUTTypeHDRImage might be an option, but no such luck. It's not an additional source type, nor is it available through cameraCaptureMode.
ipc.sourceType = UIImagePickerCon...
Hey!
I'm looking for a oAuth/xAuth-Twitter-library for iPhone/Objective-C. I found MGTwitterEngine, but that didn't work, as they don't even link to the external libraries needed for it to work (heck, the example you download doesn't even work out-of-the-box!).
So, do you know any alternative libraries that do this, or how I can make M...
Hi i have UITableView with x rows and my cell data loaded with plist file , i wanna implement a UITextField that user inserts the cell number and then after done button the cell going to highlight and show the cell row , for example enter 104 and then show me the row 104 .
is there anyway ? thank you .
...