iphone

How to show a PDF Page by Page using the Three20 Project - iPhone

Hi, I have a large local PDF. How can I use three20 Project for showing the PDF page by page with zooming, swiping functionalities? Is there any other free library available to achieve this functionality? I tried to use the Apple WWDC 2010 code but facing some problems (I am showing PDF Pages instead of images). The question related t...

Coloring of a rectangle

Hi Everyone, I'm a newbie to Graphics.I'm drawing a rectangle which will change its color after one second. - (void)drawRect:(CGRect)rect { [self setWidthHeightOfRectangle]; [self changeColorOfNumbers]; CGContextRef ctx = UIGraphicsGetCurrentContext(); CGContextClearRect(ctx, rect); // Draw a solid square CGCo...

How to get the data from following XMl?

Hi, I have an application in which I am getting XML as below. How to parse the following XML such that I need to maintain two separate arrays for 'id' and 'last updated'. In idArray I want to maintain all the ids and in updatedArrays I want to maintain all the dates.How to do that? Both id and lastUpdate are within a single tag as below...

How to search NSArray in Objective C

HI friends, I have an array consists of many names. I want to search the names starting from the character "c". How can I search the array. ...

How to prevent the new iTunes from opening everytime I connect my development device?

Since the last update, there is no option anymore under the Device section to prevent iTunes from annoying me. Is there a tool that will kill iTunes automatically every time it opens? Or is there another way to get rid of this? ...

Change tabbar size and color iphone

Hi all, They say that Apple doesn't let apps with custom tabbar color or height in. Is it true? I want to change the height of both navigationbar as well as tabbar in my application. Is it ok? Thanx in advance. ...

Hardware accelerated audio decoding with OpenAL

Is it possible to use the iPhone's hardware accelerated decoding of mp3s and AAC when using the OpenAL library? I suppose there are two possible approaches if this is possible. iPhone specific OpenAL extensions. iPhone APIs to decode audio into raw bytes. I have two specific use cases. Completely decode a short sound bite. Piecewise ...

How to develop iphone app with database ?

I want to develop a CRM iphone app. I think there are 2 methods to deal with the data store, one is using the Sqlite(but it can not share datas with others ?), the other method is using the webservice(let the app CURD data by one web application), I want to know which is better? ...

value of first cell gets overwritten in another cell in objective c

Hello, I am working in table view where i am providing a form,user need to fill up about 15 values.My problem is like if the user writes his name in 1st cell's text field,the same value gets overwritten in the 12th cell's text field. kindly note that i am using the method [cell addSubview:txtfirstname]; method to fetch data to table vi...

iphone, tableView and appStore application

I want to create an application excacly like appStore. A nice table (I have the source code from apple using custom table cell) But my main problem is that I cannot find a nice tutorial or a guide on how to make the product detail page. I want to have a label at the top then a text and after that I want to have the images. I notice that ...

AFOpenFlow touchevent Image

Hello users, does anybody know a solution that i could implement at this code, that the pictures could be touched and an event will be started? - (void)viewDidLoad { [super viewDidLoad]; // loading images into the queue loadImagesOperationQueue = [[NSOperationQueue alloc] init]; NSString *imageName; for (int i=0;...

clicking UIButton?

is it possible to click UIButton and to call its action through Programming without clicking? ...

view not updating, but everything on main thread (iOS)

I'm trying to show a UIProgressView on top of a table view after certain user interactions. In my table view, if the user taps one particular cell, I slide up a UIView that contains a toolbar with bar items and a picker view (it very much behaves like an action sheet). When I do this, I'm adding the view offscreen to the current view, ...

how to remove object from NSDictionary

Hi i am having a NSdictionary in which i am adding a array with key "countries ". Now i take the value of this dictionary into array and sort the array in alpahbatical order .Now i want to add this array into my Dictionary (that is i want to update my dictionary with new sorted array and remove the old array from it ).. how to do this ...

how to get an movable pin on a map view iphone or ipad ?

hello, how to get an movable pin on map view , so that user can move that pin and point out the specific location on the map. please tell me how to do this thanks Kumar. ...

using a viewController to open another instance of the same viewController

I have a MasterViewController.h.m.xib (UIViewController) that is opening a TestDummy.h.m.xib (UIViewController) in the following way: TestDummy *controller = [[TestDummy alloc] initWithNibName:@"TestDummy" bundle:nil]; [scrollView addSubview:controller.view]; I have two buttons in TestDummy: (Open), (Close) and one label: (windowDepth...

uiview like actionsheet

Hi friends, Is it possible to show uiview like actionsheet on presentmodalviewcontroller(i.e. that is uiview should go top but it should not go fully and it should be half) so that i view the last view controller on screen. Thanks in advance. Regards, sathish ...

Creating and Resizing a UIImageView

I would like to be able to add UIImageViews to my screen and also be able to re-size them, rotate them etc during run-time. How are the images resized, rotated etc.? Is openGl needed for this? thanks ...

Localized Splash screen in iPhone

Is it possible to have different image for different language for Splash screen in iPhone ? ...

UIKit keys missing in info.plist file

Hi, I want to add UIApplicationExitsOnSuspend key in info.plist file but all the UI related keys are missing. What should be done to get UI related keys in info.plist file I have default frameworks uikit, foundation and coregraphics added to my project. ...