I have a UIViewController that contains a subview and a UIToolbar. I'm trying to add another UIViewController containing an MKMapView as a subview, but it is not resizing properly and as a result, the map is overlapping the toolbar. What am I doing wrong?
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil ...
Hi guys.
I am developing GPS application.
Do you know about how to detect speed of mobile device ?
Actually, I need to detect the speed every 2 seconds.
I know didUpdateToLocation method is called when location changed.
(void)locationManager:(CLLocationManager *)manager
didUpdateToLocation:(CLLocation *)newLocation
fromLocation:...
I'm talking about methods like -removeAllObjects, -removeLastObject, etc for NSMutableArray. The documentation only says that these methods 'remove' the object from the array. Are the removed objects released?
...
I have a custom class called ItemComponent. Another class has an array of them called subComponents. It's a property of the class:
ItemComponent *subComponents[0];
Initially, it is set as 0, because not all objects will have sub-components.
In the implementation, I have a method to add an ItemComponent to the property. The item is...
I want to see EXACTLY how it creates an array. How can I view the .m files that show how it's done?
...
Hi friends,
I am currently doing an iphone application in which i need to include a navigation controller in my 3rd view. there are tutorials for navigation controller but its in the first view itself. When i include it in the third view the view is not loading. can anyone help me please...
Shibin
...
I have saved a bunch of CGContextRefs and I want to draw all of these out in the drawRect portion of my UIView. How can I do this?
...
is it possible to make it?i can draw a string to a image,
but is it possible draw a multiline string into it?
...
Hi there,
I'm trying to write two applications (iphone and desktop) to achieve what's been described in the following link:
core-data-is-it-possible-to-build-a-desktop-app-to-create-the-data-model-for-an
Ok. So I've created a very simple desktop app the has a single entity named Client with a string attribute field called name. I've ...
I have an app using SQLite3. It's running pretty well, but I would like suggestions on speeding up SQLite (write) access. Most of the database operations are writing triples (int, int, double) of numbers, about 20-50 triples per second. There is an occasional read, but is about as rare as hen's teeth (mostly occurs on loading only).
Doe...
hi,
i am using radio button image (empty circle) in button to answer the question from 3 options, and the 3 options are radio button's. i have created 3 uibuttons programmatically in tableview delegate method cellforrowatindexpath. i need when one button is selected(with filled circle image) other one if selected before gets unselected. ...
I want to keep a mutable collection of CGImageRefs. Do I need to wrap them in NSValue, and if so how do I wrap and unwrap them properly? Can I get away with using a C array? If so how do I construct it and how do I add elements to it later? Is it significantly more costly to use UIImages instead of CGImageRefs as the elements of the coll...
I have a beginner iPhone project going. I have a TableView, which is just a listbox with a bunch of entries and a small UiView on the bottom. See the pic.
The problem is that the UiView essentially becomes part of the listbox and will only appear when I scroll down to the last item in the TableView.
I'd like the UiView to be anchored...
hi,
i want to know how to set the alignment of delegate message of alert view. anyone has solution, plz reply with some code.
...
does the code for checking network availability works well with 3g.(provided it works fine with wifi and 2g). Whether i should send the message to the destination and then show the error or first check for network availability.
...
I have a tableview. I need to add cells of the tableview at a particular interval of time after loading so that we can view loading the cells.How can i do this. Any idea will be greatly appreciated!
...
Hi,
NSString *StrPhoneNo = @"(21) 2197-78797";
[[UIApplication sharedApplication] openURL:
[NSURL URLWithString:[NSString stringWithFormat:@"tel:%@", StrPhoneNo]];
This is not working?
...
I can detect single/double-taps in specific views with:
NSSet *myTouches = [event touchesForView:mySpecificView.view];
but I want to detect a double-tap on the button of a slider and can't find any reference to it. Is there a replacement for "touchesForView:" where I can enter the name of my slider?
usage: I have three sliders with ...
Hello all,
What is HUD View and how we can used in iPhone sdk or
i want to use in UIMagePickerController?
...
Hi all,
I am getting an "sqlite3_exce read only data base" error while inserting or updating data into table.
Because initially I have to create number of tables in data base & insert lots of data into it, so I create a one dummy application which create "database.sql" database,create Table & it insert data into the tables.
Now ...