I am trying to convert my app to use a navigation controller. It uses the EAGLView from the Xcode GL ES startup project to render its graphics. I am trying to add it to the navigation controller hierarchy. The EAGLView is currently constructed by the nib, so the first thing I do is remove it from the window so it doesn't appear twice. Wh...
I have an interface with a mapView and UITableView. Data is loaded from a server, and the annotations are created and added to the map with
[mapView addAnnotation:truck]
the tableview is then populated using the array thats retured from
[mapView annotations]
once this process is completed, i check the number of annotations on the ...
Is it possible to restrict an iPhone app to only work if there's a Wifi connection (not 3G)?
...
textview content disappear whenever i clicked save button or whenever the photo album loads. textview content was saved but it will not appear unless i close and open my application again. what could be the problem?
...
I have an array of GLuint with fixed size:
GLuint textures[10];
Now I need to set a size of array dynamically. I wrote something like this:
*.h:
GLuint *textures;
*.m:
textures = malloc(N * sizeof(GLuint));
where N - needed size.
Then it used like this:
glGenTextures(N, &textures[0]);
// load texture from image
-(GLuint)ge...
Hi guys, so im having a UIViewController view with a UITableView.
So the UIViewController class name is SelectionScreen.
The UITableView class name is SelectionScreenTable.
Picture:
http://img717.imageshack.us/i/screenshot20100609atpm0.png/
I have declared a UITableView *selectionTable in SelectionScreen class and connected it to the x...
i m trying to do search funtionality in iphone.. i pass the page number and the string to be searched.. but it is not getting the proper output.
in contentStream i get nothing.. i got this code by googling. i dont know what will be dere in contentStream object.
-(BOOL)page:(CGPDFPageRef)inPage containsString:(NSString *)inSearchString...
Hey Guys,
i've created a login screen via a modalviewcontroller. But certainly i have a problem to display a uiactivityindicator once the loginbutton was pressed.
Instead the activityindicator seem to be displayed for a minimal period of time, when releasing the modalviewcontroller.
Does anyone know the problem.
Could anybody help me ou...
hi friends...
Does anyone know how can i invoke a method on the click of the backbarButton of a viewcontroller... wat i have are two table view controllers..one list view and another detail view.... the detail view is pushed in to the navigation controller when an item is clicked in the list view. when the Back bar button is clicked i w...
Hi all,
I am planning to develop a iphone client application to upload images from iphone gallery to amazon s3 using rest calls.so is there any library to run this application as a background process in iphone.
Also is there any library to access the iphone photo gallery(Should be able access all the images,not only selected one like i...
Can we play a video in portrait mode with changing their height accordingly ?Any way to do that ?
...
I have a problem opening and closing of a ModalView: when the user touches the button to open the view, or when it touches the button to close it, appears this message in Console:
The view controller returned NO from _shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation.
Th...
hi,
I have around 100 plists in my application and I am planning to move that to a sqlite database. Is there a way to insert all these 100 plists into the database during the 'build' and make it available in the application after installation ?
...
Hi all,
i am developing a mobile client to sync images from iphone photo gallery to amazon s3,so is there any sync services libraries that can help me in this regard..
Also is there any library to access the iphone photo gallery,I just wanted to pick all photos, randomly, from the images stored on the device with no user interaction?
...
Hello,
I'm using ASIHTTPRequest library and I want to be sure if I use it in a good way from the memory management point of view.
I create:
ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:someUrl];
I guess that according to the naming convention I don't have to retain request object, right?
but when I look at the cod...
I have a UISegmentedControl of width 280. In code, I need to remove the third segment, set the UISegmentedControl's width to 200 and then re-centralise.
By configuring the springs and struts in IB, I have set the segmented control up such that when I set the width directly it will automatically re-centre.
However, when setting the widt...
CGRect pickerFrame = CGRectMake(0, 120, 0, 0);
datePicker = [[UIDatePicker alloc] initWithFrame:pickerFrame];
datePicker.datePickerMode = UIDatePickerModeCountDownTimer;
according to my code i set UIDatePicker to present as UIDatePickerModeCountDownTimer mode
how can i get the value as minutes from uidatepicker ?
...
While experimenting with iPhone app development, we have several AppIDs which should be deleted - except I can't find any way to delete them! What can I do with them?
If delete is not available, how about renaming, hiding or permanently disabling?
...
(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
NSLog(@"bla %@", [section count]);
return [possessions count];
}
Does anyone know how to implement a simple NSLog because I am getting an error.
...
I have an NSOperation which fetches some objects from a core data persistent store and sums up a few totals. Sometimes an object is deleted while the operation in in progress, so a core data fault exception occurs. I try/catch the exception while summing to ignore it because I just want to skip objects that cannot be faulted in.
Howeve...