iphone-sdk-3.0

use UIWebview in a TableView Cell??

i am trying to load a image in uiwebview in a tableView cell using - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[UI...

zlib directly for uncompressing a zip folder for iphone

hi, Is it possible to use the bare minimum zlib available on iPhone to uncompress a zip of a folder. I don't want to go for a open source library, please enlighten me the difficulty or possibility of implementing one piece of code which can uncompress a zip file. ...

How would I drag UITextView around the view screen?

Hi, I have a project where a UITextView (for multilines) can be dragged around the screen. So far my solution to this has been an overlay of an invisible UIButton which when dragged its center is the same as the UITextView's center. However I've seen apps that seem to just allow the UITextView to be dragged and edited on the fly so it...

"Next PDF Page" Button Doesn't Call -drawLayer. How to -setNeedsDisplay?

- (void)viewDidLoad { [super viewDidLoad]; page = 2; NSString *pathToPdfDoc = [[NSBundle mainBundle] pathForResource:@"2010_07" ofType:@"pdf"]; NSURL *pdfUrl = [NSURL fileURLWithPath:pathToPdfDoc]; myDocumentRef = CGPDFDocumentCreateWithURL((CFURLRef)pdfUrl); CGRect pageRect = CGRectIntegral(CGPDFPageG...

Google Analytics within iPhone SDK 4 Built App

Three questions for iPhone developers using Google Analytics within their apps for tracking use of their apps: Will using Google Analytics cause us to be in breach of the terms and conditions of the Apple SDK 4 for developers? If the answer to #1 is YES, then what are we -- as iPhone developers -- allowed to use to track usage of our a...

Any way of changing the duration of zoomToRect for UIScrollView?

Is there any way to specify a duration for the animation of [UIScrollView zoomToRect:zoomRect animated:YES]? At the moment it's either fast (animated:YES) or instant (animated:NO). I'd like to specify a duration, eg [UIScrollView setAnimationDuration:2]; or something similar. Thanks in advance! ...

Train track route using GoogleMaps

Hi, I am woundering if it is possible to create a route on a map using a train track. I know its possible over normal roads. Best regards, Paul peelen ...

provisioning profile problem after upgrading to snow leopard??

i just upgraded my macbook OS to Snow Leopard but all the provisining profiles were deleted..Do i need to create new provisioning profiles for all applications or just copy my bACKUP OF provisioning profiles folder to the Library(havent installed xcode 3.2 iphone sdk4 yet)?? ...

How to create auto resizing input bar

Hi, I want to implement a in-app chat view like the following pic. http://img408.imageshack.us/img408/4057/img0139.png How can I implement the input bar? As I cannot found any resourece on internet. Thanks. Best, Dante ...

Best way for search word in 150k words dictionnary in a iphone app ?

Hi, I m developping a simple dictionnary word app in french with 150k words and definitions. i m looking for the best way to do this. First i use a sqlite bdd with 150k words. i use the LIKE command for word search but it is very slow ex : SELECT * FROM words WHERE word LIKE '%avoi%' LIMIT 0,50; for searching word who contain 'avoi' li...

how to save a single integer value in plist

Please tell me that i am saving only one integer value into Plist.I have a counter in a function that increments when a function calls.so i want to save that value in plist and increment that value again and again in Plist. ...

Gradient layer not showing up/working on an existing View

I have a view with has another view (called swipeView) inside it. I'm trying to gradient color it using the CAGradientLayer - the code is below CAGradientLayer *layer = [CAGradientLayer layer]; layer.colors = [NSArray arrayWithObjects:(id)[UIColor darkGrayColor].CGColor, [UIColor lightGrayColor].CGColor, nil]; layer...

Can I select a specific block of text in a UITextField?

I have a UITextField in my iPhone app. I know how to make the text field select all of its text, but how can change the selection? Say I wanted to select the last 5 characters, or a specific range of characters, is that possible? if not, can I move the lines marking the beginning and end of the selection, as if the user is dragging them?...

change the secure password character in UITextfield

Hi, Is it possible to change the secure password character displayed ? ...

maintaining compatibility with previous iphone devices and os's

How easy is it to revert an OS on a device, i.e. iphone or ipod touch? I know apple still makes sdk 3.1.3 available but what if you want to test it on a device that currently has version 4 of the OS? Apple seems to make this much more difficult than it should be given the number of people most probably using 3.x OS. Just testing for ...

Keeping backing CAGradientLayer static when UITableView scrolls

I'm trying to use a CAGradientLayer as a background for a UITableView. Everything works well until the overlaying view is scrolled, at which point then the pre-rendered background scrolls up and out of the way along with the original screen of data. This is code that is being migrated from an iOS 3.1.3 app using a UIImage as a backgroun...

Read .epub file using iphone sdk

hello friends , that is sandip here. i want to know how to read .epub file within our iphone application programmatically . can anyone help me ? ...

Debug vs release modes on the iPhone

Can anybody explain debug and release modes in the iPhone SDK? What is their importance and how are they distinguished? ...

how to avoid dots next to a uitextfield

Hi, Is that possible to remove the dots which are displayed next to uitextfield when text is larger than the width of the uitextfield. ...

Implementing data encryption in iPhone applications

Hello all, I need to implement data encryption in my app locally, as well as transfer data over the network, after encrypting it. Can anyone help me by guiding me to good documentation or resources to acheive this? I have looked upon Apple's cryptoClient application but it's too cryptic(contains Bonjour sharing etc. which I don't need...