iphone

How to connect the .net page for access database from iphone objective c ?

I need to access a URL with GET values from an iPhone using Objective-C? (temp url) http://ws.library.com/svc-public/iPhoneAuthenticate.aspx?u=usertest&p=usertest1 iPhoneAuthenticate.aspx is .net page and u-username,p-password are the GET variables for the server. Now, how do I access and get values from this URL? And how do I p...

iPhone sliding popup user interface thingy

Hi there, My problem is I don't know what keywords to google for this. here is what I'm after: I want to have a normal view with a toolbar or something like that, for example look at this screenshot: then I want to have a "popup" sort of view activated on the view, like this: any help will be appreciated. ...

iPhone SDK 3.1.2 - Only Bugfix?

Apple just released iPhone SDK 3.1.2. I was wondering wether they changed some libraries or fixed only bugs. Can someone give me some insight? ...

Filter a NSMutableArray index beyond bounds Problem

I am trying to filter a NSMutableArray. Search array for items by certain country. I have tried NSpredicate which works great however I need to re-use the original array which I cannot with NSpredicate. So I am trying the below code. Q. What is the best way to filter an NSMutableArray keeping the original array intact? //The followin...

iPhone library: file is not of required architecture

Hey, I have searched for hours however I still have no clue what is wrong with my configuration. My project uses a self-written libray (myLib). This library is compiled to work only for simulator and it works perfectly there. What do have to change so it compiles for my iPhone Device as well? This is my current warning: ld: warning:...

Animation With View

It's possible to set an animation with multiple view? usually i set up an animation with a code like this: NSArray * imageArray = [[NSArray alloc] initWithObjects: [UIImage imageNamed:@"1.png"], [UIImage imageNamed:@"2.png"], [UIImage imageNamed:@"3.png"], [UIImage imageNamed:@"4.png"], [UIImage imageNamed:@"5.png"...

UIWebView Localization Problem

Hello All, I have an UIWebView were i load html text but the text is in germany so the output would be garbage so what to do? ...

If I hit "Reject Binary" in iTunes Connect to submit an updated binary, will I lose my place in line?

I've submitted an app for the App Store via iTunes Connect, and the status is "In Review." I don't know if that means they actually started looking at it. I suspect it just means that it's been put into a reviewer's queue. There's a tweak I'd like to add to it before it goes out. However, I don't want to update it if that means that hit...

IPhone form submission

Hi All, I am building a IPhone application. I am using JQTouch(jquery for IPhone) for this. Now I am running into an issue where in I am trying to submit a form and which redirect to another file. Now if I provide the action having a relative path it works fine, but not when complete URL is provided. What could be issue? Anybody experie...

Cocoa-Touch: UIPickerView viewForRow is changing row orders

I have a UIPickerView. I'm customizing it's rows via it's delegate's viewForRow as follows: - (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view { if (view) { return view; } else { NSString *s = [datePickerValues objectAtIndex:row...

XCode AutoComplete current iPhone SDK, non-deprecated version?

Is there a way to configure XCode to autocomplete Cocoa methods with the most current, non-deprecated versions? For instance NSString *myString = @"Hello"; //xcode sets autocomplete to look like this [myString writeToFile:arg1 atomically:arg2]; //however that gets a warning from the debugger //the method is deprecated. the new method i...

IPHONE AUGraph AudioUnit

Hi at all, i have done an Iphone project. It read 3 or more .caf files in a background process with AudioUnit and AUGraph to mix them. /usr/bin/afconvert -f caff -d LEI16 myfile.mp3 myfile.caf I have the control of the Audio of all the files and the control af the global volume. The program is ok when audio files are not compressed (c...

Top margin on UITableViewController

I have a TabBarController, one of the tabs of which contains a sub view which is a navigationController. I am then loading into the navigation controller a view which inherits form UITableViewController. My problem is thta for some reason the table view starts behing the navigation controller, not the top of the screen but about half wa...

how do I detect whether I have iPhone 2G,3G,3GS

I want to detect my current device name. How do I detect it through iPhone SDK? Also how do I detect if the iPhone doesn't have a SIM inserted? ...

Background of UILabel visible after a composite.

I am doing something a bit unusual. I'm trying to tint all the components in my application red (you may have seen some other postings from me about this, but this is something more specific). To do so, I'm intercepting all calls to CALayer's drawInContext: and after calling the original method, I composite red onto the layer using kCG...

Continous integration for iphone xcode

Hi, I would like to implement continous integration on an iphone. I've read that I can use HUDSON, and would like an opinion if this this the best option. http://stackoverflow.com/questions/212999/continuous-integration-for-xcode-projects The cruise control option also looks interesting. http://blog.jeffreyfredrick.com/2008/11/27/con...

Getting all value from NSDictionary (deeply)

Hello, I have a dictionary like this : <dict> <key>ThemeName</key> <string>Theme1</string> <key>AddToFavoritesButton</key> <dict> <key>DownImage</key> <string>heart_selected.png</string> <key>UpImage</key> <string>heart.png</string> </dict> <dict> How to iterate all keys and getting all values in an array ? ...

How to prevent UITextField to add phrase end point ?

When you type "aa" space space UITextField auto correct the text as "aa. ". I don't want the end point and cannot find how to prevent this behaviour. I tried UITextAutocorrectionTypeNo with no success. Anybody have a solution ? Thanks ...

OCUnit on Snow Leopard VS Leopard

I am working on a iPhone project that just added a second developer. The new developer got a new shiny macbookpro with snow leopard and Xcode 3.2. I am still on leopard and using Xcode 3.1. He is getting errors trying to run the unit tests (OCUnit and OCMock are being used). The shell script as the last step of the Test Target fails ...

What does "dwarf2_read_address: Corrupted DWARF expression." mean?

I'm trying to do a little debugging in my iPhone project, and whenever i try to print out an object to see its description in one specific method i get this message in gdb: "dwarf2_read_address: Corrupted DWARF expression." Does anyone know why this happens and how i would go about fixing it so that i can inspect my variables? ...