I'm trying to use Shark to determine which method(s) are taking the most time in my iPhone app. After sampling, I get this:
Clicking the "!" button yields:
Shark was unable to find symbol
information for this address range.
Typically this happens because the
application was compiled without
symbols or they have been subsequ...
Hi,
i was comparing A string coming from XML with another String and results were showing that they are not equal. but in NSLog() both were same ( e.g. Valore Books ).
then i checked the Source of the XML and i came to know that the actual string is "Valore Books" and   is infact a space. but the problem is this when i am co...
How can I stream the audio recorded from iPhone to a server continuously? Am I really have to use RTP?
Any other suggestions?
Thanks.
...
I just dont understand, I have used notifications a trillon times, but today I cant seem to get notifications to send from a particular object.
This is in a view controller...
- (void)buttonPressed:(UIButton*)sender {
NSLog(@"buttonPressed");
[[NSNotificationCenter defaultCenter] postNotificationName:@"test" object:self];
}
and this i...
hello guys,
i want to make an httwebrequest to a web page and get the response html of that page.
the problem is i want to generate the request as i'm requesting it on iPhone so that the website gives me the iphone version of the page
some told me to set the user agent to some string.. i did but its not working i think i need to modif...
is it possible to store single linked list information in NSUserDefaults of iphone. If there is an another way to store the information please mention that also
...
With APNS, when a device registers, how long is the token it registers with good for? The entire time the app is installed? I seem to recall a note in the documentation saying it was only good until sync/reset, but looking at the docs again I can't find that note (and it hasn't held true in my (admittedly non-extensive) testing). Can any...
I have a Subview that load a Webview. In this Webview I load a file HTML locally in the Documents folder of my App. I need to check if the webview load another HTML file. Specifically:
1) Webview load "index.html" locally in my Documents folder
2) After 7 days a Javascript load another page with "location.href= "index2.html" ",
3) When I...
Hi all,
I've come to the point of pulling my hair out over this one. I keep getting a EXC_BAD_ACCESS when I call the reloadData for the UITableView. I'll lay the groundwork for you here.
MainViewController.h
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@class iPROSAppDelegate;
@interface MainViewController : UIViewCon...
Hi all,
I've got what is hopefully a simple question - I've got two entities - List and ListItem - and there's a one-to-many relationship set up between them, all good.
My problem comes when I'm trying to perform a fetchrequest which will return the listitems sectioned up by an attribute of the listitem. I can't perform a fetchrequest...
Hello you iPhone guys,
I have been using your knowledge that you share on stack overflow through my various Google Searches regarding iPhone development. Thank you for the same.
But now I need your active help. Well I have been trying to create a final build for an application that my company is developing for a third party client. I h...
I'm trying to get my iPhone to vibrate while I'm recording.
I've tried this:
UInt32 category = kAudioSessionCategory_PlayAndRecord;
status |= AudioSessionSetProperty(kAudioSessionProperty_AudioCategory, sizeof(category), &category);
UInt32 allowMixing = true;
status |= AudioSessionSetProperty (
kAudioSessionProperty_OverrideCate...
I have a grouped tableview that is populated with XML data in one section. What I would like to do is create another section prior to the data driven one, and apply an action to it.
Example:
The user is presented with a button that says "use your current location" (manually created section) and below that is a list of countries the use...
I'm an Objective C noob, and I don't know enough to explain the following problem.
This code works:
NSString *plistPath = @"/Users/andrewf/MyApp/Resources/Plates.plist";
dicPlates = [[NSDictionary alloc] initWithContentsOfFile:plistPath];
My dictionary object is loaded with values as expected.
This code does not work:
NSString *pli...
Hy i'm having problem when using addSubview.
Example code:
ParentView *myParentView = [[ParentView alloc] initWithNibName:@"ParentView " bundle:nil];
ChildeView *myChildeView = [[ChildeView alloc] initWithNibName:@"ChildeView" bundle:nil];
//... parent frame resized with setFrame lets say to x:0, y:0, W:320, H:411
[[myParentView view...
I am about to upload my app today and remember reading something about giving reviewers the ability to login using a faux account, otherwise they will reject the app. However, I am not really sure if this is correct, or if it is, how to go about it? Users can login with their account in my app, but how would I provide the reviewers with ...
Hi!
Is there an API that will let me reproduce the blue round email address bubbles easily? You see these bubbles in Mail on MacOS and on the iPhone.
Thanks!
...
I'll try to make this as short as I can.
I wrote a custom class that extends UIView with a couple of IBOutlet properties, and it has a XIB associated with it where those IBOutlets are linked to.
I then want to take that class, embed it in some other XIB (for example, a table cell), and just have it work.
It seems that when I embed tha...
Hello, Every one.
I am confused a little bit about settings table view cell accessories.
I have fixed two sections in my table
Home
Office
What I want is as follow....
When User tap any of the cell
Cell gets selected &
I want to set checked (set uitableviewcell accessory type -checked of tapped cell )
And also all other cell's...
My apologies for posting such a book-specific question but by question relates to a particular explanation, which some of the members here may have come across, in "Beginning iPhone 3 Development: Exploring the iPhone SDK by Dave Mark and Jeff LaMarche". I have tried the book's forum some time ago with no response.
I am slightly confuse...