iphone-sdk-3.0

creating a new distribution profile for a application after deleting it from iphone??

i created a distribution profile of my application,installed and tested it on my iphone and uploaded the binary to app store...due to some usual reasons apple rejected it and asked me to make a few changes...meanwhile i deleted the application from my iphone...now when i reinstall it says valid provisioning profile is not present so will...

Adding nil to NSMutableArray

I am trying to create a NSMutableArray by reading in a .txt file and am having trouble setting the last element of the array to nil. NSString *filePath = [[NSBundle mainBundle] pathForResource:@"namelist" ofType:@"txt"]; NSString *data = [NSString stringWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:nil]; NSArray *list...

[iPhone SDK] Edit alpha of cgimage on touch

Hello, I have two uiimageview, i need to have the imageview transparent under the touch point..(with a circle)...to be able to see the image under the first one.. Can you share me some code or examples? Thanks! ...

how to create a rounded transparent rectangle by using cocoa touch ?

Hi, I need to create a rounded rectangular box in which there will be 6 buttons in iPhone application. And the rectangular box is transparent. Each button have an image and text. And they are also transparent. ( Here transparent means we can see the background image of the box. Sorry for my vocabulary.) I could not get how to start it. ...

provide subscriptions on all devices associated with a user???

my application has in app purchase kit but when i uploaded the application apple rejected it saying subscriptions must be provided on all devices associated with a user. In App Purchase expects subscriptions to be delivered through an external server that you will provide. You must provide infrastructure to deliver subscriptions t...

Can i perform Video Streaming using RTSP Protocol in iPhone?

i am new in this field.i want to implement Video Streaming on RTSP Protocol for Video Streaming.Please give me some idea about it and if possible then some sample code for that.please help me it's urgent.Thanks in Advance.. ...

Number of times a iphone app installed

Hi, I am new to iphone stuff. After deploying an application in iTunes is there a way to find out the number of iphone/ipod touch which has installed / uninstalled this application ? During uninstall the user is asked to rate the application, how to get that information with a developer license credentials ? ...

MapKit custom annotations being added to map, but are not visible on the map

I have an interface with a mapView and UITableView. Data is loaded from a server, and the annotations are created and added to the map with [mapView addAnnotation:truck] the tableview is then populated using the array thats retured from [mapView annotations] once this process is completed, i check the number of annotations on the ...

uitextview content disappear

textview content disappear whenever i clicked save button or whenever the photo album loads. textview content was saved but it will not appear unless i close and open my application again. what could be the problem? ...

Offline sound recording in iphone

Hi, I am developing a music mixing app in iphone. It'll mix the music and user can compose a new music from it. I need to record this final music. I had used AVAudiorecorder to record this one. But no change. It can record sound from microphone but I need to record app sound. I had used audio queue call back function to record the aud...

How to auto-increment reference number persistently when NSManagedObjects created in core-data.

In my application i am using core-data to store information and saving these data to the server using web-connectivity i have to use MySql. Basically what i want to do is to keep track of number of NSManagedObject already created and Whenever i am adding new NSManagedObject, based on that counting it will assign the class a Int_value whi...

How Do I Install Core Plot

I need to use core plot in my iphone app. Where do I get it and can someone tell me in plain English in detail how to get it up and running onmy machine? Here is a copy of the ReadMe file sent with the SDK: 1. Copy the CorePlotSDK directory to ~/Library/SDKs/ (WHERE IS THIS FOLDER LOCATED??) 2. Add to your project's .PCH file: #impo...

iPhone SDK 3/4 App will not run on a iPhone 2.x device even with deployment target set to 2.0!

Ok... I know about the difference between the base/active SDKs and the deployment target. I have my base SDK set at 4.0 and the deployment target set at 2.0. I am not using any APIs post 2.x, conditional or otherwise. Since I can't debug on a 2.x device, after building it, I use the iPhone Configuration Utility to install the app on t...

Converting a CGRect of a object in a subview in UITableViewCell in UITable to CGRect with respect to self.view

Hey, I want to converte a CGRect "aRect" of a object in a subview in UITableViewCell in UITable to CGRect with respect to self.view. The problem is that aRect is with respect to the subview in the table cell. But i want to make it so that it is with respect to self.view What i tried is this rect = [self.view convertRect:aRect.frame to...

Grouped table with image in first row (and section), the remaining ones having text with different length

Hi I have a grouped table with two sections where I display text with different length and therefore cell height. I have solved the problem with the different length/height with constrainedToSize in cellForRowAtIndexPath. Now I want to add a section with one single row in which I want to show a picture. How should I best implement t...

Problem to get a Substring from a String?

Hi all, i have a little question ,i have a NSString object (\n "1 Infinite Loop",\n "Cupertino, CA 95014",\n USA\n) and i want the substring present within 2nd double quote and first comma of 2nd double quote (Ex.Cupertino) from this string.(Note: My string is Dynamic) Till now i have used stringByReplacingOccurrencesOfString: and abl...

Is there anyway to access root on iPhone using NSFileManager?

I was trying to access the root directory and list the contents of it but I got 0 folders listed there. I s there anyway to access it for instance to query the SMS.db under root/SMS folder. Thank you all in advance. ...

Using GraphicsServices.h/GSEvent as well as compiling CLI iPhone tools with Xcode

I sent this to KennyTM (has all the private framework headers on GitHub) but I figured I'd ask here too just in case someone has some good ideas or any way to help me out. I'm trying to write a command line utility that sends GSEvents to operate the keyboard, touch/drag elements onscreen, and operate hardware buttons (volume, home, slee...

Great UIKit/Objective-C code snippets

New to Objective-C iPhone/iPod touch/iPad development, but I'm starting to discover lots of power in one-liners of code such as this: [UIApplication sharedApplication].applicationIconBadgeNumber = 10; Which will display that distinctive red notification badge on your app iphone with the number 10. Please share you favorite one or two...

Linking against older iPhone OS in Xcode 3.2.3

I installed the new GM iPhone sdk. When I try to compile against iOS 3.0, it claims that libraries are missing. What now? I think that I have the install DMG somewhere for 3.2.2, if that helps. ...