iphone

Objective C - Animation Blocks, multiparameters

Hello, I have a question... how is programmatically reached the Animation blocks? [UIView beginAnimations:@"repositionAnimation" context:nil]; // ----------------------------------------------------------------------------- [view setFrame:viewRect]; [view setAlpha:0]; ... ... // ----------------------------------------------------...

Device debug works but not release

I'm trying to troubleshoot why a release build doesn't work on the device but a debug version does. With a release build, the app starts, default PNG displays and the app dies. I've commented everything out of applicationDidFinishLaunching, which means it isn't a code issue. I see this error in the console: Mon Jan 18 21:17:39 unknow...

Weird Scrolling Issue Using UITableView

I am a working UINavigationController pushing two different UITableViews on and off the stack. All of my functionality is working correctly except scrolling. When either table is scrolled above the top row, or below the bottom row, it stays there exposing the margin above/below the table. I am looking for the table to "bounce" back so...

Array, not refeshing table view

Hi, I have a list of items, and in a modal view controller, i have what is effectively a 'New item' screen, where a user can type in a new thing for the list. The list is a UITableView, with data source, NSMutableArray. here is the code on the MVC -(IBAction)done{ [RoutineTitle resignFirstResponder]; [RoutineInvolvment resignFirst...

Error getting default device UID: '!obj'

Hello, I am getting this error in console while i m run app in simulator Error getting default device UID: '!obj after this error app freezes its running on my device but when i shift my code to another system then its generating such problem I dont think there is any error in code bcz its work fine on my 1st system Thanks ...

Is there any reason to build for LCD?

If I can do everything I need to with iPhone SDK 3.0, is there any reason to build for 3.1.2? 3.0 still runs on 3.1.2 devices but not the other way around right? ...

Detect the iPhone rotation spin?

Hello all, I want to create an application could detect the number of spin when user rotates the iPhone device. Currently, I am using the Compass API to get the angle and try many ways to detect spin. Below is the list of solutions that I've tried: 1/ Create 2 angle traps (piece on the full round) on the full round to detect whether the...

How do I store lines of text in a property list on the iPhone?

This is my scenario: I need to save 50 lines of text and access each line of text after my applications launches. That is, for a change in a control paramenter the text displayed on the iPhone should change (i.e. point to the second line of text, then the third...). Instead of going for SQLite, I want to store this data in a property l...

IP Address from host name

hi, i need to get the ip address from the given host name. For example,if "google.com" is given i need the ip address of google.com. How to achive this in iphone? ...

How to using the framework called Springboard

The framework called Springboard is the iphone kernel.I want to make it supported multitasking. ...

UIPickerView with 2 NSMutableArrays?

I have a core data based app I am working on, that uses an EditingViewController to control a number of different UI elements that get input from the user which describe attributes of an object that is subsequently stored within my app. The EditingViewController.xib file has such elements as a datePicker, textField, numberSlider, and whe...

iPhone + navigate to back screen programmatically

Hello, I am developing a application in which I need to provide navigate to backward screen programmatically, in which there are two scenarios: There will one MainWindow.xib and few buttons on it, click of any one button will load another appropriate screen. On this screen, I need to put back button, click of which will load MainWindo...

Problem drawing with core graphics

I'm trying to speed up my drawing code. Instead of creating a graphics context, drawing the current image into it, and drawing over it, I'm trying to create a context using some pixel data, and just modify that directly. The problem is, I'm pretty new to core graphics and I can't create the initial image. I want just a solid red image, b...

data share between two iphone apps

Hello, i want to share text data between two iphone apps. How can i use paste board for this purpose. Can anyone help me with a sample code. Thanks in advance. Suggest me if there are better ways than pasteboard to accomplish my task. ...

writeToFile fails on iphone but works on simulator

NSString *myfile = [[NSBundle] mainBundle] pathForResource:@"fileName" ofType:@"plist"]; NSMutableArray *mydata= [[NSMutableArray alloc] initWithContentsOfFile:myfile]; /* code to modify mydata */ [mydata writeToFile:myfile atomically:YES] In case of simulator 'fileName.plist' is modified but in case of iphone device file remains unc...

Editing an array in a class, from a modal view controller.

In my Tab Bar application, I want the user to have a list of items. in the nav bar, i have a button, that (hopefully) lets the user add items to this list. that button presents a modal view controller with a txt field, and a done button the list on the main page is a table view, with an array, as data source. i want the mvc to be ...

multiplayer game with bluetooth [iphone]

Hi, i am doing a multiplayer game with bluetooth, currently i am able to connect one iphone to another via picker. Now the problem is that how can i make two phones play with one another with the same screen synchronize and who play which character? I'm very new to this, is there any simple bluetooth games out there which i can get? Rea...

how to convert XML encoding="tis-620" to utf-8

any idea how to convert this xml to utf-8 ? <?xml version="1.0" encoding="tis-620" ?> <rss version="2.0"><channel><title>Pantip.com : Tech Exchange - IT NEWS</title><description>ข่าว IT NEWS จาก PANTIP.COM : Tech Exchange ส่งตรงถึงคุณทันเหตุการณ์</description><link>http://www.pantip.com/tech/newscols/&lt;/link&gt;&lt;category&gt;News/...

How to refresh a UIWebView without using reload (using google charts api)?

I'm using the Google chart api along with a UIWebView in my iPhone app. http://code.google.com/apis/chart/ In some cases, there's a delay in the load time of the chart since it's embedded in the page. When that occurs, the area on screen will be blank until a touch event occurs on the screen and it refreshes to display the chart. I ca...

navigationItem.prompt & UIImagePickerController

Is it possible to make calls to navigationItem on a UIImagePickerController? Specifically, the image picker? Below I've linked an image of what I'm trying to achieve ( screen shot taken from another app doing the same thing). Once the user selects an image from the picker the navigationItem.prompt is set and, though I think it might be a...