iphone

Core Data - Relationships

I have three core data entities which I am importing into, they are: • sizes (Name, Clothes (one to many with "Clothes" entity)) • Clothes (Name, Price, etc... +2 relationships) • shop (Name, Clothes (one to many to "Clothes" entity)) I have imported shops, into shop and sizes into the sizes entity. Now I am importing the clothes. ...

Get info programatically about Messages (SMS) on iPhone using Monotouch?

I am new in Mono / Monotouch and I just started developing for iPhone. As a heavily .Net developer I want to congratulate for a productive & simple & mature product. How to get informations about messages (sms)? Do we have any "event" when iPhone will send / receive a message, if not how to to track this? ...

how to diplay message that no result found in uitableview. Iphone.

Hi. I am sending argument in xml feed from search bar to php page. now what i want to do is to display no result found in table view if no match found against that argument.... Can any body tell how to do. that.... ...

iphone: Transparent background for the Group Table Cell

For group table cell, I fall into this problem. cell.backgroundColor=[UIColor clearColor] make the cell bg black. It works for normal cell, not for group table cell. I want to add some button, e.g. like the detail view of iPhone contact with transparent background. ...

[iPhone] AdMob ad not working

Hello! I am trying to implement an AdMob ad in my app. I have done everything, but I just get a blank 48 x 320 view. Here's what I'm doing: 1). Add all the frameworks and AdMob files 2). Open a view's .xib and add a view (320x48) and an NSObject there. Then put the NSObjects class to AdViewController. Then connect the two outlets (1 ...

iPhone, is there a tab char or some basic postion to show a string in a UITableView Row?

I'm putting together a basic UITableView before getting some feedback of how the data should look, if there a tab character or some way that I can split up the data in a string to make it look for tabular ? ...

set the second image by dragging on first image and then save it

Hi all, What exactly I have to do is I have 2 images one is mask and another is Photo. Mask.png is just the layout of the person and Photo.png is the image of the person in the position as per the mask.png. Now the main problem is I want the Photo.png to be resized and moved in such a way that it can be adjusted in that Mask.png. belo...

Default Directory of NSKeyedArchiver

I'm using NSKeyedArchiver to save an object. I didn't write out a full path in the path argument so my file is being written somewhere in the Apple iPhone simulator. What directory is my file going to? [NSKeyedArchiver archiveRootObject:self toFile:@"Vanilla"]; Thanks! mj ...

Detect iPhone/iPad purely by css

Hello, I've been trying to detect an iPhone or iPad purely by stylesheet. I tried the solution provided here by using @media handheld, only screen and (max-device-width: 480px) {. However, this doesnt seem to work. Any ideas? ...

Getting Same Latitude and Longitude in Multiple Locations for Mapkit in iPhone

Hello I am working on Mapkit in an iPhone Application . I am actaually showing multiple numbers of locations. The problem is that i am getting the same Lat. and Long.. for all of the locations. The area of the location is Singapore . I am showing number of universities in the location area. My code is below -(CLLocationCoordinate2...

How to find out the modulus and exponent of RSA Public Key on iPhone/Objective C

Hi there! Is there a possible way to find out the modulus and exponent of the Public Key, created with SecKeyGeneratePair (the Security Framework in general)? ...

Dismiss UI action sheet - crash

Hi guys, I have a "again" ;-) a problem i can't solve. My app launches on a tableView. When i select a cell, i go to the "detailView". On this view i add two buttons on the toolbar this way : UIToolbar* tools = [[UIToolbar alloc] initWithFrame:CGRectMake(0, 0, 115, 44.01)]; // tab where buttons are stored NSMutableArray* buttons = ...

How to implement camera exposure control in a UIImagePicker based app?

Hi All, I have a UIImagePicker based app that controls the camera with custom overlays to handle a heads up display as well as digital zooming. I would like to add "touch to adjust exposure" like the normal iPhone camera app has. When you zoom in, you ultimately want to change exposure based on something other than "the big picture vi...

iPad SplitViewController UI - Replicate Apple Mail App

Ok, so I've asked a similar question already, but I'm now faced with a different issue on the same problem! I'm creating an iPad application and trying to replicate the Apple Mail App UI. Initially I could not update the DetailView because I was not updating the delegate when pushing a new navigation controller on the left view, this wa...

Updating live App ID for Push notifications

Hi All I have an app in the App Store which has a wildcard App ID. I want to add push notifications to it, but cannot as we have a wildcard App ID. This is the error I get: Only explicit App IDs can be used to access the Apple Push Notification service. Please use an existing App ID with a specific Bundle Identifier or create a new one...

Reading string from a URL and then loading it's image in an UIImageView

I've got the following code that loads on an UIImageView the image that I want from the internet: NSString* mapURL = @"http://mydomain.com/image-320x480.png"; NSData* imageData = [[NSData alloc]initWithContentsOfURL:url]; UIImage* image = [[UIImage alloc] initWithData:imageData]; [marcaBackground setImage:image]; [imageData release]...

UITextField make text bold?

Quick question, does anyone know how to programatically make the text in the textField bold or italic? @property(nonatomic, retain) IBOutlet UITextField *textField_TOP_01; [textField_TOP_01 setTextColor:[UIColor redColor]]; [textField_TOP_01 setText:@"This text is bold"]; Much appreciated Gary ...

Testing App Store "Distribution" version

Is there a way to test the App Store Distribution bundle that's to be submitted to iTunes Connect, on a device, e.g. iPod Touch? Also, for the distribution bundle is it important to remove the file "Entitlemenets.plist"? ...

How to use a boolean in NSUserDefaults

When the root view controller of my application is loaded, I want to be able to check whether or not the users login credentials have been saved to NSUserDefaults. Basically, when the user loads the application and he/she doesn't have her login credentials saved, a modalAlertView will be pushed and the user will be able to save their cr...

Downloading a video in an iPhone app, is there any file size limit?

I am trying to work out if I can have my app download a couple videos that may change from time to time. It all seems possible in my research, but my one concern is if the size of the video file would be an issue? They are not going to be extremely large, but they are videos and from what I see they may have to go through the memory befo...