hi,
i have done like
@interface tabViewController : UIViewController
{
IBOutlet UIButton* button_first;
IBOutlet UIButton* button_second;
IBOutlet UIButton* button_third;
IBOutlet UIButton* home;
}
but i could not in file owner those button? what i have to do? any help please? i have set everything correctly (viewcon...
I've added Facebook Connect to my new iPhone application. Everything perfect, no problem.
In this application, however, I need to post on user's Wall without prompt any dialog box.
I've searched in Facebook Documentation and, from what I understand, if I ask user to give me the right permission (in this case, publish_stream), the dialog...
Hi,
I'm interested in the value change of a particular key which I keep in NSUserdefaults. However, what I have is not working for me. observeValueForKeyPath does not get triggered.
Update: I think I've discovered the issue. Rather than using a defined constant, if I use a string then it gets fired.
[[NSUserDefaults standardUserDefau...
Hi All,
I am writing an iPhone Application which communicates with server for fetching some data. I need to implement Asymmetric Key Encryption in the project. In iPhone App I was able to implement the cryptographic methods both using openssl api's and apple's security framework api's. But when I get the public key from java server am ...
I want to add a calendar to my app to which i can add events and stuff.But i cant find any info in this regard.One site provided code that wasnt workin too well.
Any suggestions??
http://blog.webscale.co.in/?p=244 has a calendar example that is buildable but throws in warnings.Theres the issue that once you tap on a date it remains sele...
I have MPMoviePlayerController, with which I play a movie. I have my movieControlMode MPMovieControlModeHidden. I want this behaviour: while the movie plays, if tap on the screen is received, stop it, release the movie player. How can this be done?
mMoviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:mMovieURL];
[mMoviePla...
Hello,
I've added some buttons to my app with a background image (RESET button below), but the corners are quite as expected. See below:
The bottom left and right corners of the RESET button seem to be squared. My original image has rounded corners.
Anyone come across this problem before ?
...
The app I'm working on requires me to draw images to a UIView. These images are large (some are 1024x768), and I'd like to be sure my drawing code isn't sub-optimal. My drawRect method in my UIView looks like this:
- (void)drawRect:(CGRect)rect {
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextClearRect(context, rect)...
I have this code to prompt the UIAlertView, with Textfield:
UIAlertView *myAlertView = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"New List Item", @"new_list_dialog")
message:@"this gets covered" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
UITe...
I need to write an application, that every 10 minutes it should be awaken from suspended mode, get user location via gps and send this information to the server by network.
Depending on the response it should return to the suspended mode or show local notification to the user.
Is there a way to do this on iOS 4?
I've tried different a...
In Objective-C, there is a feature called a Class Extension. When and why would they be useful, and what advantages do they provide?
...
Hey guys,
stack overflow has already helped me a lot during my programming work so at first: Thanks a lot for all the asked questions and the excellent answers.
Nevertheless I have a problem right now, for which I just couldn't find the right answer here.
I am programming a Iphone App which is supposed to parse a flat-file from the we...
hey!
is there a possibility to determine if an uiview obj is going to be displayed. imagine: you have 2 uiviews in an uiscrollview. now you are going to switch per gesture from the first view to the second. the first view now is NOT in the viewport. now you are going to go back to the first view. and now I want to be notified that this ...
Can any one explain Retain cycle with example code(Objective C) ? and How can we remove retain Cycle ?(with code or diagram). I know about it theoretically but i never come across such kind of program ? I am very curious to see, how retain cycle solved (with code or diagram) ?
...
Hi,
Can anyone please help me understand Indexed table view implementation with code examples or please give a pointer to code snippet for the same.
...
I'm seeing my app being jettisoned due to low memory. In trying to track down the problem, I ran the app through the Allocations instrument. Unfortunately, I couldn't see any problem with the memory usage when it was killed.
At the time of ejection, the app was playing a video, and had been for about 45 seconds. There were no touches or...
Hi,
Im trying to do a SELECT * to retrieve rows for last 7 days in SQLite.
the table structure is as follows
CREATE TABLE 'session' ('rowID' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL , 'steps' INTEGER, 'stop_time' DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP)
How do I do this?
Im new at this
...
Hi folks
i developed iphone apps in virtual macos on windows.now i want to test my app on real device.
how to deploy application into real device without paying to market.
first i want to test my app is running on device perfectly or not.afterwards i will pay for account.
is there any way.
Thanks in Advance
Aswan
...
I have the following situation: A UIScrollView contains a UIWebView. I want the content inside the web view to be touchable, but the scroll view should not scroll unless it was touched near the left or right edge. I have subclassed both UIScrollView and UIWebView to try to override methods like hitTest and pointInside but no go so far.
...
What happens if I send a push notification to the iPhone and it's during a call, or during incoming call?
would it popup on the screen and show the notification to the user?
...