I have a pList file:
Root - Dictionary
categories - Array
item 0 - Dictionary
item 1 - Dict
item 2 - Dict
I load the file like so:
-(void) loadCategories
{
// Loads the categories from the SymbolList.plist file
NSString *file = [[NSBundle mainBundle] pathForResource:@"SymbolList" ofType:@"plist"];
NSMutab...
Hi folks
Is there any ways to filter incoming calls in iPhone. Suppose I am getting a call from unknown number then I want that this call will go to my voice mail.If calls from any of group within my address book then busy ringtone.etc....
Is this possible in iPhone programatically. Any help.
Thanks in Advance.
...
I have a class called options written in c++, here is the header info:
class Options {
public:
string filename;
string chunkDir;
string outFilename;
string inFilename;
BOOL compress;
BOOL extract;
BOOL print;
BOOL reconstruct;
int bits;
Options(string inFilename);
Options(int argc, char** argv);
void unsupported(string s);
v...
Hi all,
I am really struggling on this. I have an XML feed:
<?xml version="1.0" encoding="ISO-8859-1"?>
<data>
<date>
<name>27/9/10</name>
<event>
<title>Event 1</title>
<more>Copy in here</more>
</event>
</date>
<date>
<name>04/10/10</name>
<event>
...
Hi Guys,
I tried to send the message from facebook in my application for that i used the following code segment using graph API call.
SBJSON jsonWriter = [[SBJSON new] autorelease];
NSArray eventdict = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:@"Always Running",@"text",nil], nil];
NSString * event = [j...
new problem:
I am receiving this error: '-[__NSCFArray insertObject:atIndex:]: mutating method sent to immutable object'
In the ViewDidLoad I initialized my array:
id object = [[NSUserDefaults standardUserDefaults] objectForKey:@"array"];
if (object)
{
locationArray = object;
NSLog(@"retrieved", object);
...
I want to install iOS 4.1 on the phone, but I don't want the hassle of installing a new SDK version on my computer especially with XCode 4 on the horizon. Will I still be able to debug using the 4.0.2 SDK with iOS 4.1 on the device?
...
I am displaying iAd's in the headerView of a UITableView. When the user scrolls the iAd disappears because the headerView is no longer visible. I am not sure if this will prevent my app from being accepted.
...
hi all
i just wanted to know if this is the right way to check if a sendsynchronousrequest was successful:
NSData* returnData = [NSURLConnection sendSynchronousRequest:req returningResponse:nil error:nil];
if(returnData == nil)
{
//code showing an alertView for example
}
else
{
//do somthing else
}
thanks in advance for your ...
Hi,
I want to draw some OpenGL ES context above the camera's video in iOS 4.
I am using this tutorial from Apple to get the video frames from the camera:
http://developer.apple.com/library/ios/#qa/qa2010/qa1702.html
Works like a charm. I am able to get video frames from the camera, and display them.
But - I want to display some OpenG...
Hi,
I am connecting to a server socket using the following code:
- (void)viewDidLoad {
[super viewDidLoad];
asyncSocket = [[AsyncSocket alloc] initWithDelegate:self];
NSError *err = nil;
//[asyncSocket connectToHost:@"192.168.0.200" onPort:8000 error:&err];
if(![asyncSocket connectToHost:@"192.168.0.78" onPort:2055...
Odd problem in an iPhone app.
My application's main view is View A, which is a tab controller. One tab in particular is set to load View B. View B, when you click a button, modally displays View C. View C in turn has a button that, when pressed, sends a message to its delegate (View B's view controller), and the delegate then dismisses ...
HI,
I have a problem with a movie in fullscreen.
What is happening:
the user starts the movie over the movieControls and if the movie is finishing playing my code runs in a method where I remove the moviePlayer.view from its superview.
But nothing happens. The Movie disappears but there is still a black view and the movieControls.
If I ...
I was testing for a bug found by a tester when I ran across this. I think it's a FBConnect bug but I thought I would try here to see if anyone else has had this issue:
I've FBConnected from the iPhone app to FB, logged in correctly and verified that I can resume the session. Then, I go to FB and change my password. The next time I try...
Hi there
When I run my application in the simulator everything works perfectly. It couldn't be any more sweet! :p
However when I change to debugging on a device (ipod touch) everything starts going haywire, with NO cause.
After a few seconds of the application being open (it will work for about 10s) it quits unexpectedly. XCode consol...
I have a Navigation Controller in my main view. And I use the following code to add the navigation view when needed.
[self.view addSubview:navController.view];
However, the the navigation bar is not positioned correctly. I have posted a pic below. Anyone knows what is the potential problem?
...
How much time it takes for confirmation of iphone application from apple ?
I have submitted an iphone application on last week (8th sept-2010), but still application is not reviewed by apple. How much time apple takes to approve iphone application ? (approximate).
Is it possible to know how many applications are currently in a queue (w...
Hi,
i dont know how to solve this Problem. I have a Tab- and Navigation Bar.
When i come back from FullScreenMode and go to another TAB, in the Webview i get a white space under the Navigation bar.
Can somebody help me plz ?
...
I know how to get the contentOffset on movement for a UIScrollView, can someone explain to me how I can get an actual number that represents the current speed of a UIScrollView while it is tracking, or decelerating?
...
Hello stackoverflow,
So I have been searching everywhere for a solution to this problem. I have a table view that displays a popover from a cell when the user selects it. However there is a bug but I can't figure out a solution. Basically once you scroll down off the first page of results, the popover always appears from the bottom o...