I've been trying to build a UI that's as similar as possible to the built in iPhone 'camera' app as possible. Necessarily I've been using the UIImagePickerController class.
It imposes on me two constraints that I wish to overcome...
I'd like to be able to take more than one photo (currently mine takes one then comes to a sudden stop.
...
I would like to know what are the options for intercepting an SMS.
I want to be able to launch some code to handle the SMS when it is received.
Any advise on whether this is technically possible and what options I have if there is more than one way, would be greatly appreciated.
Thanks
Paul
...
How can I change the color of an individual pixel programmatically in the iPhone sdk?
...
Hello,
Sorry if this question has all ready been asked, maybe someone can point me in the right direction, I had trouble formatting it.
I have a view controller, when it appears an NSURLConnection loads remote data asynchronously from a server into a table view, similar to how the Mail application loads data. However I also want to be...
Hi All,
I am trying to build a game for the iphone using cocos2d engine. I wanted to know how can I tell a difference whether the user is using iphone 4 or iphone 3 as I wanted to load hi-resolution graphics for the iphone4 and low-resolution for iphone 3. I know if I use @2x.png at the end of the image file name UIImage loads the hi-re...
I have a UITableViewController that is pushing some views when clicking on a cell:
switch(indexPath.row) {
case kFollowerSectionUpdatesCountRow:
stockTwitsView.reloadUpdates = TRUE;
stockTwitsView.showHomeButton = TRUE; //** reversed, true means hide the button
...
Hello all
i am using NSUserDefaults to save data from the app and when the user leaves the app and then come back to it all the values are restored.
the thing is that it does save the values while the app is running in background mode. but when i close the app from multitasking and re-open it the app comes back as new with no values sa...
I want to implement a movable UIView class (view moves when you touch on it and move your finger), e.g.:
@interface MovableView : UIView {
some members;
}
-touchesBegan;
-touchesMoved;
@end
How can I apply this code to UILabel, UIButton etc without multiple inheritance? In C++, I'd do it like this (with UIView as a virtual base to ...
I have a UITextView with scrolling disabled, and I am using the page-curl transition to change the text inside. This is the code I'm using:
myView.text = nextString;
[UIView transitionWithView:myView duration:PAGE_CURL_DURATION options:UIViewAnimationOptionTransitionCurlDown animations:nil completion:nil];
Everything works fine, exce...
My question is, what directory does the NSFileManager start out in, I am really confused because when I run code to tell me what directory I'm in, it just outputs /. Also I can change directory to /private/var but not into /mobile and /mobile/applications which is where the application is. Bellow is my code.
NSString *currentpath;
fil...
I would like to conditionally enable the objc_exception_throw global breakpoint for my app, only when I am doing a Debug build (not when doing a Release or Distribution build).
Is there a way to specify this build condition in Xcode's Breakpoints window?
...
I was thinking of making a dictionary app for my Objectiv C classes that I use, sort of a cheat sheet.
I want to be something like this;
Class --> Code Sample
Basically, a scroll view of the classes, then I can choose one that I want to know how to implement and then I get a complete code sample.
Anyone?
David.
...
i have been told to
Implement Delegate Callbacks.
In your header file, implement the callbacks, MFMessageComposeViewControllerDelegate and UINavigationControllerDelegate.
how would i do this ?
Thanks
Mason
...
Hi,
can anybody explain in terms of utility whats the difference between
1.View Based App
2. Windows Based App
3. Navigation Based App
Thanks!
Taimur
...
I have a table view with a search bar above it, and when the search bar is pressed I want the table view to become inactive. So I have this method:
- (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar
{
self.tableView.userInteractionEnabled = NO;
}
with the same class being the UISearchBarDelegate. For some reason thoug...
So I've followed this guide to putting a background to my main window http://howtomakeiphoneapps.com/2009/03/how-to-add-a-nice-background-image-to-your-grouped-table-view/
However, I am using a navigation controller, and when I push the navigation view(s) on the stack, the new views cover it (obviously). But I change all of the backgrou...
Hi,
I working with scriptaculous in my web solution and use one slider for range selection. I have ported to iphone and changed event listeners to touchstart, touchmove, touchend in place of mousevents but nothing is working as need. I have moved to some others to click events but same issue. Click event is starting but later is not cor...
I'm trying to debug my iPhone app (a basic counter) and I have a "goto" function to go to a specific number. When testing my app, I noticed that when set the goto without putting anything into the NSTextField, it doesn't return anything. Not a NULL, nil, or anything. NSLogging the input string doesn't even show up in console. No blank me...
OK, I know that this has been asked previously, so please forgive me for asking again. It just seems like there has got to be an easier way to do this.
Is there a 'simple' way to change the UITableView section header background color? I know that I can use the delegate method 'viewForHeaderInSection' to hand the UITableView a custom U...
I have an existing iPhone project that has been tested, submitted, and approved, compiled with the 3.1.3 SDK. I've taken this project and converted it to a universal iPad/iPhone app, following Apple's instructions (i.e. letting Xcode do its magic).
This app has a UITabBarController as its root view controller, built inside a XIB. When r...