The user can choose whether he wants to use an existing image or take a new one for use as the background.
Everything works as far as the FirstViewController is concerned. Sadly the image is no longer set as the background when the SecondViewController is displayed.
How do I enable the use of the image as background for the SecondView...
Hi,
This question isn't strictly development-related but I hope it's still acceptable :)
I'm looking at creating an iPhone app that will communicate with a REST Web service. Because some user-sensitive data (name, address, age, etc) will be transmitted I'm looking at securing the connections with SSL.
However, on my previous escapades...
Hi all,
The app is a viewbased project type.
I am using a NSObject in a View XIB(UIView Nib), assume this object to be the topbar of the app.
MainController UIViewController loads the initial screen.
it looks like this,
UIViewController MainViewController Image
i wanted to load a Top view(new one, call it X) Designed separately in t...
Hi all,
I need to deal with an http authentication (401) using the NSURLConnection class, so I implemented the "connection:didReceiveAuthenticationChallenge:" delegate method.
In this method, to respond to the server challenge, I need an information contained in the http server response headers (the WWW-Authenticate header one). My pr...
I've been working on autoresizing a custom UIView and Apple has very little to say on this. What's more, based on SO feedback, Apple's documentation is actually wrong in some areas. Finally, even though there are six resizing components in Interface Builder and six for setAutoresizingMask: they don't seem to correlate at all. For example...
hey
If I am playing a sound in one view, does anyone know if it is possible to control the volume from another, if it is can someone explain how? I can't figure it out, I have no code to show for the volume.
The sound is called from one view and the volume slider is on another. I have coded both.
The code for the sound is
#import `...
Hi there!
I am trying to create class that will handle multiple downloads at same time (I need to download a lot of small files) and I have problems with "disappearing" connections.
I have function addDonwload that adds url to list of urls to download, and checks if there is free download slot available. If there is one it starts downl...
I'm building a mobile advertising sdk for the iPhone and I assume that the only way to store the images that will represent the button icons for the landing page controller [in the library] is to convert the images into character arrays.
When I have the character array defined inline like:
const char backButtonData[] = { 0x00, 0x01, 0x...
hi iam new to iphone sdk
and i want create a search bar for my table view ...
for creating my cells i use .plist .
can you help me step by step how can i mange it .
here is my sample code : [for everyone wants help me quickly]:
http://rapidshare.com/files/340551323/Ghazal_3.zip.html
...
I am using NSFetchedResultsController along with a UITableViewController.
I've created a transient field in my Core Data model to use as a label for my UITableView sections. The name of the field is "sectionIndex". In my application, a "Client" entity has many "Jobs" (1 to many) - so my query to retrieve Jobs groups them (via section) b...
I have set a picker's model to a custom class which inherits UIPickerViewModel
I can get the picker to display the first component's data (there are 2) but I don't see a way to tell the picker what the values are for the second column?
I'm using MontoTouch.net , but Obj-C answers are fine.
override GetRowsInComponent (UIPickerView ...
I have no problem to run the sample code below in a iPhone simulator, but when I run it in a iPhone , I always get a EXC_BAD_ACCESS when I call [asiRequest cancel]. anyone can help? thanks.
ASIHTTPRequest *asiRequest;
-(IBAction)request1{
NSLog(@"request starting");
[self sendRequest];
}
-(IBAction)cancel1{
NSLog(@"request...
i have an uiscrollview with a uiimageview inside. I subclass the uiscrollview but i can not get touches to work touchbegin does not called. What should i do to call uitouch event?
what is wrong?
.h
#import <UIKit/UIKit.h>
@interface myScrollView : UIScrollView {
}
@end
.m
#import "myScrollView.h"
@implementation myScrollView
...
I have read into the keychain and have found that it uses Triple DES. What I can't find is what keying option it uses. I am guessing / hoping that its keying option 1 where all 3 passwords are unique but if thats the case I can only think of two passwords it can use (user password and App ID that comes from your dev cert) so where is the...
You can view the Java API in tree structure. So you can view all the subclasses of Object.
How would I view all the subclasses of UIView or NSObject IPhone Cocoa API?
I just found out you can do this:
self.tableView.tableHeaderView = searchBar;
searchBar is subclass of UIView. I want to add a textField to a tableView. I wonder if ...
I have heard that there are some apps that hook into the Apple processes that will run in the background (namely, hooking into the Apple clock timer API), which will allow some non-UI background process on your 3rd party app to continue to run. Is this legitimate? Supposedly, there are some GPS-tracker apps that are using this and have p...
Is there any way to determine how long a method needs for execution? In seconds would be not accurately enough - in milliseconds would be better.
...
I'm writing some code to acquire images that live on a server. The image filenames are in yyyyMMdd_HHmm format (in UTC) and generated every 3 hours (1200,1500,1800,..etc). When the code starts, I get the current UTC date and extract the time. I then create an NSDateComponent from this, and looking at the current time, set the hour of the...
Hello everyone,I have a problem about UITableView which surrounded me for days.I have build a UITableView with 4 sections.Each section's HeaderView has a UIButton. Everything works fine except one thing that when i scroll the selected cell to the top Then the buttons on the headers that bellows the current section will disappear.I try th...
my view are fill in back of Navigationbar how can i make it continuous at the buttom of it.
here is my code
WebViewController *webViewController = [[WebViewController alloc] initWithNibName:@"WebController" bundle:nil];
[[self navigationController] pushViewController:webViewController animated:YES];
[webViewController release...