Hi all,
I have a UINavigationController in my iPhone app controlling views in a drill-down fashion. I have 4 viewcontrollers that I pass through before I have a "Start over" button, where I would like the action to send the user back to the beginning of the view hierarchy.
[self.navigationController popToRootViewControllerAnimated:YES...
Hi, I'm trying to set up a UISearchBarDelegate
My first attempt was to clear the search results when searchBarShouldEndEditing: was called, but I discovered that this gets called when scrolling through the search results, which is not a time to be getting rid of the array of them.
My next attempt is searchBarCancelButtonClicked: - but ...
I have implemented a Three20 Image Gallery into my App. I want to change the color of the Navigation Bar at the top of the Image Gallery Screen. I have gone into TTThumbsViewController.m and found the lines that read:
self.statusBarStyle = UIStatusBarStyleDefault;
self.navigationBarStyle = UIBarStyleDefault;
If I change these values, ...
Hello,
I'm trying to create a single class and xib where a tableview can be reloaded with different core entities depending on which toolbar button you press. I've got my code working and can see it loading the different entities in my fetchedResultsController. however when I message [self.tableView reloaddata] my table view delegates a...
Hello,
I'm developing "landscape mode-only" app for an iPad.
Problem is that my views have wrong positions on the screen, and I can't find the reason...
I've set necessary properties in the Info.plist:
<key>UIInterfaceOrientation</key>
<string>UIInterfaceOrientationLandscapeRight</string>
<key>UISupportedInterfaceOrientat...
I have a UITableView and would like to apply a background image to all cells. My height for each cell is variable. How should I go about creating the background image?
cell.contentView.backgroundColor = [UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"background.png"]];
...
I have an application that uses OAuth whose logic is something like this:
If there is a request token for the user that is valid stored, loads a UITabBarController with four views.
Else, brings the user to the login screen.
I realized today that if I am logged into my app, log out, and switch to another user, the data from the first us...
Hi,
I have built a iPhone application, which capture the voice and streamed to server using NSOutputStream instance. Once the stream stops, iPhone sends a text message as "---end---" to the server and starts to listing on NSOutputStream.
When server(built using C#) captured the "---end---" message, it does some processing and write bac...
Hey , I created a text file and I want save in the media folder not in the root folder. How I can do this?
...
Does apple set the name depending on the submitted binary or can the name be set by the developer?
I changed my display name of my app but didnt want to recreate the project to change the old name. So my .app name is not the name I want to give it in the app store.
Reason for this is that during the development of my app someone subm...
NSString *list = @"Norman, Stanley, Fletcher";
NSMutableArray *a2 = [[NSMutableArray alloc] init];
//a2= [list componentsSeparatedByString:@", "];
[a2 addObject:list];
//NSArray *listItems = [list componentsSeparatedByString:@", "];
NSLog(@"array is %@",a2);
NSLog(@"array o %@",a2[0]);
how to get a2[0]=Norman , a2[1]=stanley???
...
I've seen many questions asked about how to add images to the simulator and have seen two answers:
- Click and hold to save in Mobile Safari on the phone
- Add the files to the 100Apple (or whatever) folder
Both worked great in everything previous to iOS SDK 4.0. Those same methods no longer work for me, and neither for anyone else that ...
I just tried to upload a completed app via iTunes Connect, and I received the following error:
The binary you uploaded was invalid. Apple is not currently accepting applications built with this version of the SDK.
I upgraded to the 4.0 SDK. I got this same exact error with the PREVIOUS version of the SDK as well. 3.?.? (whatever it was...
Hi guys. i have a [self parseXMLFileAtURL:path] method. is there anyway of stopping it midway? like terminating the method.
Reason for doing is because im running an apache http server on one pc and if the server is not running, the app will 'hang' if this method is called. so i want to to something like terminating the method after a c...
My main problem is storing the data which is not supported by Core Data. I already have a CLLocation property stored as a transformable attribute. I think the right approach is to declare a transient coordinate property. I keep getting EXC_BAD_ACCESS errors however.
EDIT:
My current subclass has the following interface:
#import <Found...
I have a very strange date format coming to me via JSON. e.g. - "July, 18 2010 02:22:09"
These dates are always UTC. I'm parsing the date with NSDateFormatter, and setting the timeZone to UTC...
NSDateFormatter *inputFormatter = [[NSDateFormatter alloc] init];
[inputFormatter setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@"UTC"]];
...
i tested local images in UIscroll view that worked but now i am doing somethng else
i have a string (from xml)having all 10 URLS and then i defined a NSmutable array that holds them
now is it possible to extract images from that array and display them in UIscrollview ??/
plz let me knw
Thnks
...
Hi, everyone,
I want to ask a question about the iPhone application. I write a program which will display a table. However, I don't know why I cannot display the navigation title in the table. The following is my code
// code
- (void)viewDidLoad {
[super viewDidLoad];
// control flow, call another user define function and ad...
Hi,
So, Apple includes a CGRectIntersectsRect method which checks if two rectangles are intersecting each other, but do they have a method that I can use the checks if a CGPoint intersects a CGRect? Or do I just have to implement that myself?
...
i am using this a1 = [[NSMutableArray alloc] init]; now what should be the best way to release a1
right now i am releasing in dealloc()
i am allocation a1 in viewdidload() and displaying 10 images there
...