iphone

How to make my Cocod2d game universal?

Hello, I just finished my new game using Cocos2d (v 0.99.1) for iPhone. Before releasing it on the AppStore, I would like to make my app universal so it can run fullscreen on iPad. What are the changes I need to do to my App? Thanks ! ...

how to display a text on to to my view below my tabel view ,that single line text must be scrolling

i have a view in which i have tabel view and i want to set up a text scrolling from left to right in the bottom of my main view ,.... what abt if i am select navigation bar for solve this purpose? can any suggest which i have choose to solve this.... any suggestions appreciated ...

Routing currently playing audio to GKVoiceChat

Hi. Does anyone know is it possible to mix playing audio and mic input using AUGraph, route the result to a Session and send it via GKVoiceChat? ...

Current Location with custom annotation, call-out and blue accuracy circle

Hi, After 2 hours of googling I couldn't find an answer so this is my last shot. I would like to use a custom annotation for the user current location on a mkmapview. But I also want to have the blue accuracy circle around it. Can this be done? If not, can I add a call-out to the default blue dot with circle? The reason that I nee...

how to search Table cell in iphone application

Hi everybody, i have develop an RSS iphone application. as the data come from xml feed in table cell i am fail to implement search functionality in it. following is the code in which the date is displayed in table cell int blogEntryIndex1 = [indexPath indexAtPosition: [indexPath length] -1]; NSString *imgstring=[[bl...

how to create a IB action for a image view

i have a image ,i want to launch url when i press that logo or image ,how to implement ib action for that image view ... can any one give suggestion i selected image view in ib to place my logo is it right? ...

iPhone UIGraphicsGetImageFromCurrentImageContext memory leak

My iPhone application downloads image files from a server, stores it into NSTemporaryDirectory() and then loads the image in the UI asynchronously. Code flow is like this: Show view with loading activity indicator and run a image downloader in the background. Once the image is downloaded, it is written to a file. A timer in the loading...

sending mail from iphone app using skpsmtpmessage problem

i am trying to send mail using skpsmtpmessage . But the recipient will see id of SMTP authorization userid. The "fromEmail" variable is useless in this condition. How to send mail using another mail id .I can't change the sender name also. Example testMsg.fromEmail = @"[email protected]"; testMsg.relayHost = @"smtp.gmail.com...

iphone facebook wall posting with image map link

Hello, is possible to attach a link (image) of a google map on the side of my wallpost throug iphone? my wall post is ok, but i've no idea how to do with the map. Ps in my app i've implemented also mapkit, i don't know if i make a gquery with coordinate to obtain map link or i must work using the position that i have on mapkit i've foun...

iPhone - get number of days between two dates.

I'm writing a GTD app for the iPhone. For the due tasks, I want to display something like "Due tomorrow" or "Due yesterday" or "Due July 18th". Obviously, I need to display "Tomorrow" even if the task is less than 24 hours away (e.g. the user checks at 11pm on Saturday and sees there's a task on Sunday at 8am). So, I wrote a method to ge...

how can i add image from one scene file to another scene?

Hi. I have used cocos2d and i have 2 scene. in first scene i have one image and one menu button. if user will click on menu button then i am showing second scene with some options. now i want like if any user will click on any option in 2 scene then first scene should be come with new image. Can anyone say me how can i change it? i ha...

iPhone release build memory error

I get this error when I try to build a release version of my app. It throws an error for a single file that is fairly large, but nowhere near 400+MB (in the KBs) Out of memory allocating 455627472 bytes after a total of 0 bytes Command /Developer/Platforms/iPhoneOS.platform/developerusr/bin/gcc-4.2 failed with exit code 1 I have 3GB o...

loadView doesn't load my views properly after memory warning

I set all the subviews that I created in loadView to nil in viewDidUnload. I simulate a memory warning in simulator, and my offscreen views and their subviews get removed via viewDidUnload. However, when loadView gets called again as these offscreen views come into view, my subviews don't get recreated properly the second time. For exa...

How to i do a 'fuzzy string comparison' to check spelling of word in iphone app?

Hi, I want to implement a spell checker in my iphone app and I was wondering how to do a 'fuzzy string comparison' between the entered string and the NSArray containing the dictonary words and highlight possible corrections? Is there a class that will do this already or a library that someone can recommend? Thanks! ...

Draw text in iPhone openGL ES using just objective-c

A need to draw some text in openGL and then make rotations and translations over it. Need to use just objective-c. Any help? ...

how to do scrolling text automatically ,navigationview controller will do this?

i want to scroll text automatically when my view gets loaded and that should be bottom of my table view.. any suggestions appreciated.. ...

dynamically change sort descriptor for Fetched results controller

Is there a way to have the sort descriptor(s) be dynamically set for a fetched results controller on iOS? For instance, I need to have the core data results returned to me sorted based on the setting of a segmented control in the navigation title bar. The user can either click the segmented control to sort by Price or Priority. I then...

calling pushViewController from a inside a custom UITableViewCell class

I have a custom UITableViewCell which is part of a navigation controller. The cell has a button and when that button is pressed I want to push a view onto my navigation controller. I can do this pretty easily by using a selector in my cellForRowAtIndexPath method. [cell.fooButton addTarget:self action:@selector(pushBarViewController:)...

reading an objective C encoded object into a java class

I am writing a client server iPhone app. The server is J2EE based. I need to communicate the state of my client object (objective C) to the server. It is possible (and feasible) to say encode the objective C object, send the bytes to the J2EE server through a socket and create a Java object out of this stream. If so, can you kindly poin...

Read from "output" as from "input"

Hi Dear community! Some on of you saw this. So the question is, how to access mobile audio out in read mode? Thank you! ...