iphone

0x0 memory leak [iphone]

I have a leak in my app I really can't make sense of, can anyone help me with it? Instruments Stacktrace: 0 libSystem.B.dylib calloc 1 WebCore CurrentThreadContext() 2 WebCore WKSetCurrentGraphicsContext 3 UIKit -[NSString(UIStringDrawing) drawAtPoint:forWidth:withFont:lineBreakMode:letterSpacing:includeEm...

How to securely communicate with server?

I'm building a solution consisting of an app and a server. Server provides some methods (json) and the app uses them. My aim is to make those API methods inaccessible to other clients. What is the best way to do so? Should I take a look at certificates (to sign every outgoing request)? If yes, where do I start and what is the performance...

SDK for MediaTek

How can we get (paying) the SDK for MediaTek 6223/6225/6235? Regards, Carlos Paz lorgot at hotmail dot com ...

How do I install iPhone2.0 SDK on snow leopard?

The snow leopard xcode only installs 3.1, 3.0, and 2.2.1. I need to install 2.0 to use as the base SDK for a particular app. I see the iPhoneSDK2_0.pkg in the Packages directory of the install image, but there is no option to install it... ...

Wordpress Mobile Version

I'm interested in creating an alternate version of a Wordpress site, specifically tailored for mobile devices. (We're talking about iPhones in particular, but something more generic would be cool, too.) My thinking on this right now is that I'll need to figure out how to serve the content from one Wordpress installation to two different...

Crash when zooming into a MKMapView with a MKPlacemark

I'm trying to add a placemark to a map. The placemark is built from an address completely outside of Address Book. My placemark is appearing on the map, but when I try to pinch to zoom in I get a crash: *** -[CALayer objectForKey:]: unrecognized selector sent to instance 0x4569dc0 *** Terminating app due to uncaught exception 'NSInvali...

iPhone Accessibility using "Red on Black" for images

Is there a way to convert an image on the fly to "Red on Black" for accessibility? I have pictures that I want to stream to the iphone. Viewing them at night, Red on Black is better for viewing. ...

Problems trying to override methods in Objective-C (iPhone)

Hello there, this my problem i have a class X that inherits UITableViewController class and a class Y that inherits the X class, when i try to override a method in the Y class the method in the X class is invoked... and i can't find references to understand what's happening... can anyone help me? Thanks in advance! Code! mluListBuilde...

Custom pin with title subtitle iphone

I have a mapview and i put an annotation which shows a custom title and subtitle pin. When the mapview starts the pin is visible but the title and subtitle are not. I have to press on the pin to show up the title and subtitle. Is it possible to show the title and subtitle without pressing the pin? ...

UiWebView and Contact picker display problem on iPhone

Hi guys, I'm using interface building to put a UiWebView inside a View on a main window. From javascript I call out to objective C where I display the native contact picker widget, something like this: ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init]; picker.peoplePickerDelegate = self; [...

Has anyone compared iPhone MySQL clients

I am looking for the best MySQL client for my iPhone. I see several like Flipper and iMy and several others, but before I invest a bunch of time and a little money trying them out, I would like to just start with the best most feature rich one. I would link to the others but don't have permission yet. ...

How to get a PID for a specific app in iphone?

Hi All, How can I get ProcessInfo of a particular app (Not the same app/process)? I know that "NSProcessInfo" gives the details of the current process. But I would like to know is there any way to get the info of particular process say for example "Mail". If Mail is running in background, how can I get the info of it? P.S: Requirement ...

UNIX System commands for iPhone to control services

I am looking for SpringBoard commands to control jailbroken iPhone programmatically, but theres hardly any information out there, or its pretty well hidden! I would like to be able to talk to the ComCenter programmatically. Now I know this is not approved by Apple, but I dont care, I dont follow rules ;-) Anyone know of a good referen...

Why am i getting a EXC_BAD_ACCES

Hey. I have been working on a Twitter application and have been stuck on a EXC_ BAD_ ACCESS error for quite some time. I know that EXC_ BAD_ ACCESS is a memory issue but i cannot pinpoint where the problem is. Here is my code sample: - (void)viewDidLoad { [super viewDidLoad]; NSString *path = @"/Volumes/Schools/BHS/Student/740827...

Xcode Error "Couldn’t load the next page."

It's really not my day, I was about to create a new class in Xcode (Version 3.1.4) so I went to (right click) Add > New File... selected Objective-C Class and i got the message "Couldn’t load the next page.". Anyone? Thanks in advance... ...

UISliderbar moves when moving the track.

Hello, I have a custom slider bar and when I slide it back and forth the track image seems to move left and right a little. Anyone know why this happens? UIImage *stetchLeftTrack = [[UIImage imageNamed:highBar] stretchableImageWithLeftCapWidth:capLeft topCapHeight:0.0]; UIImage *stetchRightTrack = [[UIImage imageNamed:grooveBar] stretc...

Encode an Array of Images into a movie file? (iPhone)

My app takes time-lapse photos, and also records audio to go with it. The problem is, I have absolutely no idea how to go about turning it into a .mov/.mpeg file (I am new to this type of iPhone development). I have heard some things about FFMPEG, but apparently the license doesn't cover the public distribution of iPhone apps. Anyone hav...

iPhone Simulator crash with WebPreferences in the thread list

Apple Developer Reference Library has a class reference for WebPreferences I've searched SO, Dev Forums and Googled without any relevant results. EXC_BAD_ACCESS signal is generated. I can't find a crash report.. its happening on the simulator. The debugger is called, and I don't get a crash report. EDIT This is triggered when tappin...

storing input into variable

Hi I am seeking some insight into storing text input into a variable. My task is to take five text inputs, store the numbers the user inputs, then do some fancy math with them to create a solution variable to display. However, within the SDK I am getting confused quickly on how to actually store these correctly. I can't find much tutoria...

Quartz 2D Graphics Contexts

Why do Quartz 2D Graphics Contexts functions have to be called from within the drawRect method? Because if I call a CGGraphics context function from anywhere except from within drawRect I get messages like this: <Error>: CGContextFillRects: invalid context <Error>: CGContextSetFillColorWithColor: invalid context Actually in a subcl...