iphone

Iphone: Is it allowed to make the user register seperatly from app store?

Hi.. Ive tried to contact Apple about this, but they refuse to give me any answers. Do any of you know if it`s allowed to make the user register with a username,password and phone number before they can use the the application they have already downloaded from app store? Thanks! ...

Inserted date of record in sqlite3 database?

Hello Guys, I inserted a record in sqlite3 database. I want to know the date on which that table inserted in database. Thanks in advanced. ...

Blurry UILabel as programmatic subview of UITableViewCell contentView

I am adding a UILabel instance as a subview of my custom UITableViewCell instance's contentView. When I select the cell, the row is highlighted blue, except for the background of the label. The label text is sharp. When I set the label and content view backgroundColor property to [UIColor clearColor], the label text becomes blurry. Ho...

How to get the UIScrollView to be shown in between adding imageView to it?

I have a UIScrollView and I add 9 imageview to it using the following code. for (i = 0; i < 3; i++) { for (j = 0; j < 3; j++) { imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:[NSString stringWithFormat:@"some url"]]; frame = [imageView frame]; frame.origin.x = x; ...

Plot path from one location to other location on iphone MapView

Hi, I want to draw path from one location to other location. How to plot the path between two location. I have coordinates(latitude,longitude) for both location. How can i achieve this functionality? Thanks, Jim. ...

A good strategy to ensure the integrity of a file

I have some code that downloads a plist from a web server and stores it in the documents directory of the phone. My concern is that if the file becomes corrupt then it will effect the stability and user experience of the app. I am coding defensively in the data read parts of the app, but wondered what advice is out there for checking t...

DrawRect of UIView inside UIScrollView

I'm trying to draw a small image on a UIScrollView for my iPhone app. I started with a UIImage created from a png I included in my bundle and that works ok. Every time the zooming/panning stops the delegate of the scrollview recalculates the frame of that UIImage (which is a subview of the UIScrollView's contentView) and calls setNeedsDi...

user location Blue marble drop

Does anyone know what triggers the blue marble animation. I know that it happens when the location gets updated but how do i trigger that event with whatever is in that property. I have an app that i would like to show the user's location when the map appears, but then clear the map of all annotations (including the user location)when th...

Can i call a NSThread function detachNewThreadSelector: toTarget: withObject: with 2 parameters?

I want call a function which makes my main thread stuck using the above function so that it can run in a diff thread. But the problem is that my function have 2 parameters. Is it possible to do so? ...

iPhone Map Kit cluster pinpoints

Regarding iPhone Map Kit cluster pinpoints: I have 1000's of marks that I want to show on the map but it's just too many to handle so I want to cluster them. Are there frameworks available or proof of concepts? That this is possible or is already been done? ...

Enabling buttons

Problem, with a UIButton, I can do this: myButton.enabled = YES; or myButton.enabled = NO; However, I can't do the same with a UIBarButtonItem (navigation bar buttons,) So, how do I stop the user clicking it? ...

Apple Push Notification Service - notification messages aren't sent to iphone device

Hi all, I constructed provider code with using C# and it was able to send notification messages to iphone devices successfully. But since yesterday, it hasn't worked. Also it seems to connect APNS successfully and send notification message. Unfortunately, no notification message is received by iphone device. I controlled internet connec...

Compatibility issues for opening websites, iphone.

I'm going to create a website, which is meant to be opened from mobile phones including iphones. The website may be containing different contents such as Javascript widgets, flash content, images, texts, dropboxes, etc. The website is being built using XHTML and Javascript. What are the common issues that safari faces while opening such...

uiimageview location against another image

I have several uiimageviews on my view which the user can drag around. I have them "snapping" to coordinates based on the view... but... I'm wondering if it's possible to snap these to coordinates based on an image. So I have say one image in the background, a box. When I then drag images around, if they fall inside the box they snap t...

how to check an nsmutablearray is null or not

How to check an NSMutableArray is null or not ? ...

UIImageView and UIImage of equal size

I came across a weird scenario in my code the other day: I have a UIImageView that loads an image with setImage:. The UIImageView is prior initialized with a frame having the exact size of the image (41*41 px). I also set the content mode to UIViewContentModeCenter, which should ensure my image is never scaled. Now when I look at my im...

Customizable non-full screen video player in iPhone

Hi, I know that there is an MPMoviePlayerController present in iPhone to play movies from. But it isn't customizable in the real sense. Also, if I wanted to play movies is a non-full screen mode, it isn't possible today. I wanted to inquire if anyone knows about the future roadmap of iPhone SDK, is there going to be any such customiza...

shark does not show source code

We are trying to run shark on our iphone application. However, in the analyzed samples it does not list any of our application function. All that is listed are the libraries and when we click on any of those, the assembly code is visible. Most of the sites mention about 'Generate Debug Symbols' option when building the app; I am not able...

CLLocationManager Simulator to simulate car moves ?

I'm looking since quite a long time something like a CLLocationManager simulator that would enable me to simulate GPS positions (CLLocation instances that could be retrieved through the CLLocationManager standard delegate mechanism) along a predefined route for instance (with a KML or GPX file as input, or whatever, but KML would be ni...

Segmented Controller (Multiple Choices) with Core Data

I have a Core Data based application which is built around one main entity. There are several other entities which are connected to it, one of which is an Entity called "Notes". This Notes entity has a Date (NSDate), a Description (NSString), and one other attribute. This attribute is to have 4 possible options, of which each entity w...