Hi all,
I have an already running iphone app with target OS 3.1. I am trying to transform it into a universal app.
I am not going to change the model, only the xib.
So I wrote the ipad xib in IB, then I went to info.plist and add MainIpad Nib for ipad pointing to a proper MainIpad.xib.
I also set Target Device Family in project info to ...
I have two view controllers each with separate views. I switch between these views when a button is touched. Both of these view controllers are set to autorotate in landscape mode (AKA no support for portrait mode). I didn't have this issue before (or didn't notice it) but now when I switch between the views and rotate the iPad, the stat...
hi i am making an app based on gps... i have tested it and working fine in iphone simulator 3.0..
but when gps is not available i want to generate an alert...(i just remove the internet connection)
i used following method but did not work....
(void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError *)error {
NSLog...
Hey.
I saw a couple of questions here on SO, with ansers including the function isEqual: instead of the standard ==.
So far, I have only learned to use the ==, so I'm wondering what's better to use, what are the pros and cons of each? When should you use them?
Thank you.
...
I have a serious problem: I have an array with several UIImage objects. What I now want to do, is create movie from those images. But I don't have any idea how to do so.
I hope someone can help me or send me a code snippet which does something like I want.
Thx!
...
I'm adding Game Center to my app and I want to put the logo on a screen. Can I do it or it will be rejected?
Edit: ok, my app is ready for sale with the logo of Game Center in three different places. So I guess that there is no any problem with this issue.
...
Hello,
I am building an iPad application for playing the videos. I am planing to include the videos and other related stuff into the app itself. So the app size would be approximately 600MB+.
I have found that Apple allows maximum app size of 2GB. Also for the app with the size more than 20MB, WIFI is required.
Please guide me whether ...
Hi to all,
I have created a music application in iphone which have more than 50 songs.When i want to play the song i need to click on the song and then play after that when i want to hear the next song in series i need to click on the song and play. i want that when i play a particular song and after that song completes playing the next ...
I create a grouped style tableview
and the table has 5 sections ,and each section has different numbers of rows
Here is my code
1.Set how many sections in a table
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
// Return the number of sections.
return 5;
}
2.Set each rows in a section
- (NSInteger)tabl...
I am calling a function in Accelerometer delegate method like this
This is in ViewControllerX.m
-(void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration
{
[self methodX];
}
i am also calling another function in interface method like this
This method is in ViewControllerY
- (BOOL)should...
Is there any way to change a music file Balance?
for example I want to play a sound only from left speaker(by default my sound file is playing in both speaker)
...
hello,
i have a little problem. when i enter the edit mode of my uitableview the a manuel added label should disappear. i realized this by setting the alpha of this label-field to 0 in following method:
- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath {
if ([s...
In my application corelocation manager updates the current location more than once by calling "startUpdatingLocation" method.
When i run the application on device it behaves differently on different devices.
On iPod touch with iOS 3.0 it asks "Application would like to use your current location" every time i call [locationManager start...
Say I have two SQLite files in my application documents directory. How would I go about combining the two together and saving them as a single file that contained all the information from both? Do I literally have to create two persistent store coordinators and manually coordinate the process between the two, or is there some more effici...
I'm looking to archive some nested NSDictionary objects to be able to use the data in them at next start. To do so I was going to use [NSKeyedArchiver archiveRootObject: toFile: ] but was not sure where to put the file. In the archiving docs, the examples put the file in NSTemporaryDirectory() but for persistent data, a temporary directo...
hi guys,
so I have this variable, AVAudioPlayer *introSound; , in my delegate named AppDelegate.h.
it plays continuously during first load.
[introSound stop];
What I want to do is stop it from a separate controller, firstController.m.
I tried
[AppDelegate.introSound stop];
but it threw an error saying:
error: expected ':' befor...
Is there any grid-like control in iPad SDK?
...
Hello,
I'm trying to test the following code : http://github.com/mobilemelting/nvpolyline. When I run the app, all I get is a black screen. There are only two View Controllers, MainWindow.xib and NVMapViewController.xib.
See my settings for MainWindow.xib in the attached image.
What am I missing ?
Regards,
Stephen
...
I've got an app using CoreData as a data storage mechanism and the app needs some initial data to be configured. Are there any recommendations / what/how are you doing in order to set up the initial data?
Currently I am doing it in the following way (when the app starts for the 1st time):
SomeEntity *newEntity=[NSEntityDescription inse...
I make websites. Should my clients expect their websites to work on iPhone/iPad without paying for a mobile version?
...