ios

iPad app documentsw folder

Is there a way to tell iTunes not to backup the contents of the apps documents folder? ...

iPad popup question

Below is some code I am using to display a popup. The first time this is called the popup gets displayed. The 2nd time it is called it fails with a "EXE_BAD_ACCESS" error. It fails on the line "self.myTextPopOver = pop;" If I comment out the line [pop release] everything works OK but that would mean I am leaking memory. // Popover Text ...

What methods are available to view files on iPhone?

Hi, I am working on a hobby app which accesses the dropbox api and allows users to browse the directory structure (mimicking the Dropbox iPhone app). My current challenge is to be able to view the files on the device. What is my best way of doing this? There are obviously a large range of file types and I would like to be able to view...

xcode : How do I make sure the deployment target of my binary is set at 3.0?

How do I make sure the deployment target of my binary is set at 3.0? My base SDK is 4.0 because I'm using xcode 3.2.4 and this is the only SDK I can use. I thought it was possible to get the binary to target 3.0 using the settings in the Build properties but when I upload the binary to iTunes Connect it still says the minimum os is 4.0. ...

Code paths on iOS

We have an app that uses network, compass, camera and telephony. It has been rejected because we don't specify in UIRequiredDeviceCapabilities the keys that are requiered or prohibited. This is a newer version of an app that we upload months ago and we don't had any problem before. On documentation says You should include keys only ...

How do I test if IOS device has telephone capabilities?

I want to offer phone support in my app at the press of a button for iPhone users, and display a phone number for iPad/iPod Touch users. Rather than detecting what device the user has, is there a better way to query the hardware to see if it has telephony capabilities? This would continue to work should iPad 3G one day open up for voic...

Converting images on the ipad, or server side

I'm working on an ipad application that needs to work with images; it uses four different versions of each image in different situations (each has its own resolution and image quality). The options I have to get the images in the app are: 1) Download only the original image. Convert the image into several formats on the ipad. CPU/mem c...

Getting Objective-C to talk to JavaScript with UIWebView

I am building an iPad app that loads local html files in a UIWebView. I have an int stored in a view controller that I want to use to determine what content to load into the html document. Additionally, I want to have clickable links in the html that create generate new, smaller UIWebViews on the highest layer, like a "pop-up". How doe...

How to Implement a Cool Alert/Information Overlay on iPhone?

I understand how to include a standard alert within my iPhone application, and can dismiss it with an OK or CLOSE button (see Epicurious example in image). How can I make a cool alert/notice overlay like the one seen in the foursquare app (see foursquare example in image)? In particular, how to include the alert/notice layout with graph...

Remote Control Event Causing iOS to Terminate Background App

My app plays background audio using AVAudioPlayer and receives remote control events from iOS. Everything works fine while audio is playing, but if audio is paused and my app is moved into the background, something odd happens. If I use a bluetooth device to resume/unpause the audio after 10 minutes, iOS terminates my app with the foll...

iOS Default.png status bar not drawn over

This is probably something simple but I'm having a problem with my Default.png file. I created it using the XCode organizer to take a screenshot and having it assign it as the Default image. According to this post (Best way to create Default.png image for iPhone app) iOS is supposed to draw the real status bar over top of the status ba...

How to build and install yajl-objc on iOS

Hey I am trying to get http://github.com/gabriel/yajl-objc to work on iOS. It says to "Add the YAJLIOS.framework to your project" but I am not sure how I can get/build YAJLIOS.framework Thanks! -Ray ...

iOS - how to put Xcode console in gdb mode when using the simulator

When I build and test on the device, the Xcode console automatically goes into gdb mode, which makes it much easier to do stack traces. However, when I test on the simulator the console does not use gdb. I've looked everywhere for a preference setting but can't find anything. How can you use gdb when using the simulator? ...

How do I change the color of TableView and Button controls in iOS?

I designed a web app for iPhone and am now trying my hands at a native Objective-C version, and I'd like to retain some continuity with my original design. Since my web version uses CSS, I was able to customize the color palette, even though the UI was designed to imitate a native iPhone UI. I'd like to use a similar color scheme for my...

presentModalViewController inside UIViewController class

View *view1 = [[View alloc] init]; [self presentModalViewController:view1 animated:YES]; The code above works when connected to a UIButton. It does not work upon launch of an application by putting it in the viewDidLoad method. I want to run this upon launch. Thanks in advance. ...

iOS: Navigation Controller title bar shrinks in landscape mode when compiled, but not in Interface Builder.

I'm trying to make an iPhone SDK 4.1 app, and I'm having some trouble with my Navigation Controller. When I set my app to portrait mode, everything looks like it should. However, when I set the initial orientation to landscape in my plist file and add the shouldAutorotateToInterfaceOrientation function to my primary view controller, the ...

Once an application is available in the App Store, is it possible to change the developer/seller account?

We are developing an app for a client who is currently in the process of creating their own Apple account. The problem is they got started with the process late, and we need to submit the app ASAP for review. Has anyone had any experience with changing the seller account after an app has been approved and is available in the App Store?...

Custom Crop Size in UIImagePickerController

I've been struggling with this for awhile now, since there is little documentation on the subject. I have a UIImagePickerController in my iPhone application that I use to select an image to be applied as the background of a view later. This is easy enough to do. Unfortunately, if a user selects a large image from their camera roll it nee...

Xcode: add a string to address book, i dont know how

i dont know anything about obj-C and Xcode, almost nothing, i tried building only with very basic apps... now i have here an app porject source, a friend of mine built partially, and i need to finish it. the only thing i need is to save the string (a telephone number in my case) to the iphone address book this is the var resultText....

url not getting inserted in SQLite3 database

Hi All, i'm trying to insert the url links in the SQLite3 database but its crashing does any one have any idea ... y its happening ? if i statically trying to insert any url, it works but dynamically when i get urls of navigated web pages.... they do not insert.... please suggest me how to make it work. I'm using SDK 3.2 this is my i...