Hi!
I am working on 'About" section of my iPhone application.
I want to show some of the contributors details as a standard ABUnknownPersonViewController view.
I am creating person view using simple 'school' code:
ABRecordRef aContact = ABPersonCreate();
ABMultiValueAddValueAndLabel(email, @"[email protected]", kABOtherLabel, NULL...
Background: I've developed an iPad/iPhone app of my own before. This will be my first app for a client. I have no experience estimating the number of hours it will take, since all of my prior iOS development has been off the clock.
I'd like to get a very general recommendation for how long it would take a knowledgeable iOS developer to ...
I have a tableview that uses a custom UITableViewCell. In the cell, I have a button that shows a custom menu controller with three menu items. I would like to push a new view controller when you click the 'See Detail' button.
I have this run when the 'See Detail' button is clicked in the custom cell
- (void)seeDetail:(UIMenuControlle...
Ok,
So I am trying to seamlessly loop together three sound files with the second file being looped against itself n times. Let's assume I can get them to loop seemlessly together in another program by butting them together. however when I use audioPlayerDidFinishPlaying delegate method of avaudioplayer there is a slight delay in the but...
Hello. In my program I have this code:
@try{
if (online_scores_pages != nil){
NSLog(@"Here - %@",online_scores_pages);
}else{
NSLog(@"NIL");
}
[online_scores_pages removeFromSuperview];
NSLog(@"Here 2");
[self becomeFirstResponder];
NSLog(@"Here 3");
section = CURLING_MENU;
}@catch (NS...
Hello,
I'm using CoreData and I have two managed objects: Author and Book. An author can have may books, but a book can only have one author (for the sake of this example).
The class Author extends NSManagedObject and Book extends NSManagedObject also. In my Author class, is it OK to create an extension, so that I can do custom searche...
Hi to everybody,
I want to add high res images in my iOS4 app. I already read this http://developer.apple.com/iphone/library/documentation/iphone/conceptual/iphoneosprogrammingguide/SupportingResolutionIndependence/SupportingResolutionIndependence.html#//apple_ref/doc/uid/TP40007072-CH10-SW2 and a lot of other pages but I did not find t...
How do I resize the UITextField when clicked with, like the search bar in mobile Safari?
...
I'm wondering if the cache of UITableview cells is cleared when a UITableViewController (or subclass) receives a memory warning.
I have a subview in some cells and I'd like to know if it's safe to release them on a memory warning.
...
I'm new to programming, iphone application programming in specific. After reading a bunch about MVC I decided to give it a try in a small application. As to my understanding, MVC works like this:
Model: data, manipulating data, retrieving data.
ViewController: formats data from the model (NSDate to specific style), etc.
View: the actu...
Hi,
i get a nsstring from a nsdictionary via:
inputString = [dataUsage valueForKey:@"amount"];
after that the string looks like: 23,56
how can i convert this string into a nsnumber?
i have tried the following:
NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];
[formatter setNumberStyle:NSNumberFormatterDecimalStyle];...
I've got a settings bundle in my app, with PSSliderSpecifiers in it.
What sizes should those images on either side of the slider be for iPad?
(I know that for the iPhone, they should be 21 pixels squared, but they are not showing up on the iPad.)
Edit: in developer preview of 4.2, my images are back! No mod needed. Weird!
...
Hey All,
I am trying to include iAds in my app. It works fine when there is network connection but the iAds doesn't hide when the network is not available..please find the code below and help me..thanks for your time..
I included this code in viewDidLoad
static NSString * const kADBannerViewClass = @"ADBannerView";
if (NSClassFromStr...
Hi All,
I've been tearing my hair out trying to get the AVFoundation camera to capture a picture in the correct orientation (i.e. the device orientation) but I can't get it to work.
I have looked at tutorials, I've watched the WWDC presentation and I've downloaded the WWDC sample program but even that doesn't do it.
The code from my a...
I want to update my app to make use of the multitasking functionality and local notifications available in OS4. My question is, if I update my app and make it only available for OS4 and above does this mean that if someone is running OS3 on their phone they won't get the update? or they will get a warning that they need to update their O...
In the iOS clock app, the font in the table view cells has a slight shadow to it which gives the effect that the text is engraved....
How can I recreate that font with the engraved look?
Thanks in advance for your help!
...
I am attempting to take an image captured from the rear camera, apply a scaling transformation to it and then output a new image with the same size of the original but scaled up.
What I have below works ... BUT it is slow (especially the code in between the UIGraphicsBeginImageContext(size); and UIGraphicsEndImageContext();)
Is there a...
Hi,
We have a long drop down list item which needs to be displayed in IPhone screen, Intention is to show the whole list item rather than adding an ellipsis at the end (default behaviour)
and not to cut the text. This problem does not exist in Android device where in it wraps the text. similar option needed here as well.
How to acheive...
i want to create bar button items programmatically to place these fixed space buttons between buttons....
...
I have a database that I recently converted from MySQL to SQLite. I have a PHP script that gets a string from a POST or GET Request and looks for that string and returns a value in that row.
<?php
require_once('../config.php');
$newNumber = $_REQUEST['new'] ;
$tbl_name = 'roomNumbers';
$sql="SELECT * FROM $tbl_name WHERE new='$newNu...