iphone

Purchase/view content from iPhone app OR website

I'm developing a website and a companion iPhone app where users can purchase video content. I'd like to let users buy content from the iPhone app or the website, and then view their purchased content through either medium. My understanding is that the app will be rejected from the App Store unless it uses the StoreKit framework for in-...

image array in xcode

hello, i am new to iphone programming, i want to put multiple images for slideview..and for that i want to declare it by array and use it in same viewcontroller class..so anybody can tell me how to declare the array of images in a class and display ...

Implement rss parser

I need to develop an rss parser with a tableview as the first view and detail view as we select a row in table. But the thing is, i need to group the feeds in table view based on publishing date and titleForHeaderInSection as the publishing date. That is there should be many sections of rss feed based on date. With each feed there is ...

App crash with "Debugging Terminated"

I have CLLocation variable declared i gave it a value but when i use it at other place, app crash with "Debugging Terminated" without any logs in console CLLocation *userLoc; -(void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation { userLoc=newLocation...

Should we use NSClassFromString before using any class in our code?

I always wonder, should we use NSClassFromString before using any built in class in our code to make is generic. Or is there any standard practice to use this. Same thing for property. Should we use valueForKey and setValue calls separately to access any property. Is it a standard practice? For example look at the below code // Screen ...

Can I change the primary category of my App?

Hi! I have recently published a new app in the appstore. It was approved, but I am having a bit of trouble getting in to the top lists for the category (Entertainment). Is it it possible to change the category to a less "ambitious" category? It doesnt look like I can do it in Itunes Connect, and the developer guide states that the info...

iPhone SDK : How to save a image as a file and POST it back to PHP server ???

Hi all, I'm look for a solution to upload an image file to PHP server I find some tutorial to get a photo from this video and you can get source code here How can I use an IBAction to send the photo to a URL server for example I give it a URL:http://someaddress/photo_upd.php or more specific, HOW TO CONVERT IMAGE I GET FROM CAMER...

Drawrect causing memory issues.

Hello All, Currently I am using UIView instead of UIImageview due to Memory consumption in large scale images. following is same code I am using. - (void)drawRect:(CGRect)rect { CGContextRef context = UIGraphicsGetCurrentContext(); CGContextClearRect(context, rect); [myImage drawInRect:rect]; } -(void) SetImage:(UIImage*) aIm...

Landscape images work, portrait images don't

Hello Developers, I 'm new to programming with objective C. I try to read the argb data from an image and then display this image. It works for landscape images, but doesn't for portrait images. Here is the code I use. //Read the data CGImageRef inImage = dispimage.CGImage; CGColorSpaceRef colorspace = CGImageGetColorSpace(inImage); CGC...

loading nav controller from tabbarview controller on iphone

my app is based on tabbar controller now in my default view i am showing a viewController and lets say it has Button A, when user press A it should load a my tableviewController but nothing is happening?? -(IBAction)promo:(id)sender { aRoot= [[tableViewController alloc] initWithNibName:@"tableViewController" bundle:[NSBundle mainBundl...

how to create "CinemaFX for video" like app for iphone

Hello All, I need an idea on how to create a similar app to "CinemaFX for video". Basically I want to know how to edit videos on iPhone, is there some kind of library or open source project for it? I only want to give some effects in video and want to save edited videos. Is this thing possible on iPhone or I should send the video on se...

is there a way to control the iPod Touch’s keyboard orientation using JavaScript?

Hi, I was wondering if there is a way to control the orientation of the iPod Touch’s keyboard from JavaScript? When the using is in landscape, the keyboard is always displayed in portrait mode which is causing problems with my static positioning of many elements. Is it possible to control the keyboard’s orientation in Javascript? Than...

Custom maps in Android, loading via tiles (alternative for RouteMe for iPhone SDK)

Hi, I am working on a prototype port of one of our iPhone apps to Android. The iPhone app uses the RouteMe API to load our own custom maps into the application. (also tiled, just like Google Maps itself, so only loading what you see at that moment - this is very important in this case) I have been searching for a similar product for A...

how many ways can we get data from webservice?

i know using xml parser .... Is any another way we can get the data from web service. if it is there please send links or example's or any documents. ...

increasing width of uilabel dynamically

Hi, I want to dynamically assign width to a label depending upon the text length to be displayed. The labels are it self being added on uiview. I am using following code but still i am getting label with shorter width. - (id)initWithFrame:(CGRect)frame OrangeText:(NSString*)orange WhiteText:(NSString*)white { if ((self = [super initWit...

Can iPhone communicate with JMS?

Hi, Just wondering if someone knows how to send/receive XML messages between iPhone & Java Message Service. Regards ...

Where to find the iOS development session videos from Brad Larson?

Someone told me that Brad Larson has published good iOS development videos on iTunes U. He said there are supposed to be two classes similar like those from Stanford. The terribly bad search UI of iTunes seems to lock me out of those videos. I can't find them. Not even when I search for Madison or Brad Larson. I'm also logged in while ...

Moving multiple UIImageViews simultaneously

Hi there, simple question, I've got a superview holding multiple sub UIIMageViews that I'd like to move simultaneously. I now about UIIView Animations but not how to launch multiples animation at a time. Any clue about that ? example animations would be : growing, shrinking, alpha changes, moving along different (radom generated) pat...

appstore delay for bugfix

Hi, my app has been rejected during the appstore approval process due to the use of private API (I'm so stupid... moreover, theunique use was almost useless). How long does it take to have my app reviewed this second time? I'm affraid I'll have to wait 7 more days... And, since yesterday noon it is freezed at "upload received". ...

add photo, custom uitableview

Hello all, How to design a tableview similar to contact application in iphone......... and also how to implement add photo image from local photo library which is there in contact application.... ...