Universal app iPhone or iPad
hello all, in my universal app i need to check in the ViewDidLoad if the iDevices is iPad or iPhone is there an method or code ? thanks ...
hello all, in my universal app i need to check in the ViewDidLoad if the iDevices is iPad or iPhone is there an method or code ? thanks ...
Hi all again! I want to create a game, that will use a level system. So i want to store my levels and to be able to change them during the game (to save the state). So i decided to use XML for storing levels. I found NSXmlParser class for reading from XML, but i can't find a writer to save the level state. In my game the level state and ...
So I have an Array "myArray" with NSNumbers and NSStrings. I need them in another View so i go like this: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { DetailViewController *details = [[DetailViewController alloc] initWithNibName:@"DetailView" bundle:nil]; details.subjectText = [[myArray ...
I put a button on view and want to call this view from another view and change size of this view but when i change size,size of button doesn't change How can i change size of view that size of all controls on view changed? Three *second = [[Three alloc] initWithNibName:@"Three" bundle:nil]; second.view.frame=CGRectMake(0, 0, 100, 100);...
In my iPhone development, I've always used global variables for lots of stuff. The style guide in my new job says we should use context parameters instead. So I need to figure out what that means and how to do that. Can anyone explain in more detail what this means -- or point me to some code that works this way? Thanks ...
I created an iPhone app "App1" and installed on my device and everything worked fine. Now, I copied all the code from App1 and made App2. But now when I run the App2 is replaced the icon of App1 and completely replaces the App1 with App2 on the iPhone device. What can I do to resolve this issue? ...
I am using several accounts to manage my customers iPhone/iPad applications. Therefore I need to connect to iTunes Connect with different logins. How can I change the login in XCode or Application Loader? It is always set to one default value that I probably entered the first time XCode was started. When it comes to validating or submit...
I am developing an iphone application in which I need to have a control, lets say a button , in all of my views. I was wondering if there is an equivalent concent for Asp.net master pages in Iphone development? Ta ...
Hello everyone I hope to sue codes to load all audios into a MPMediaItemCollection object without using mediapicker manual action. Is it possible? Thanks ...
hey all in my app i have this method -(void) Setinput:(int)input { //value declared in .h value = input; switch(value){ case(0) [b_do setTitle:@"Do" forState:(UIControlState )UIControlStateNormal]; [b_re setTitle:@"Re" forState:(UIControlState )UIControlStateNormal]; [b_me setTitle:@"Me" forState:(UIControlState...
Anyone know of a good tutorial on how to animate/transition an UIImageView into view like how they did in the ABC aplication ...
Hi, I want to make a sigleton class having uiimage variables. I want to use these variables of uiimage as sharedinstance but i am not able to define it properly can someone please guide me in this regard? Thanks ...
I'm having some difficulty getting my website to display properly when viewed on the iPhone and iPad. The webiste (not even close to being finished) is www.lzkconcepts.com. The website displays properly when viewed on every desktop browser I've tried (safari, chrome, firefox, IE), however, on the iPhone/iPad there is a tiny gap/spac...
Are there any libraries that can help me? I'm a Python programmer and have never used Objective C before, so the easier the better! Thanks. ...
I have an app which is based on the Utility template (where you flip over the view to see another). On the first view there is a login screen, then it flips over to reveal a UITabBar style interface. I'm having trouble working out how to pass the managedObjectContext from the App Delegate (where it is created) all the way through to eac...
Hi! I'm initializing an UIImagePickerController like this: self.cameraController = [[UIImagePickerController alloc] init]; self.cameraController.sourceType = UIImagePickerControllerSourceTypeCamera; self.cameraController.showsCameraControls = NO; self.cameraController.navigationBarHidden = YES; self.cameraContro...
I'm using a CATiledLayer for the visualisation of data. By default the drawLayer function gets a transposed and scaled context, which allow the drawing code to be agnostic of the zoom-level and the tile that's being requested. However, I would like to use the zoom functionality to change the horizontal range of the data, without actual z...
I'm wondering if there's anywhere i can see what data is in my NSUserDefaults? Like, how does it works? Is there a file that stores in my iphone that contains all the data in the NSUserDefaults or is the file stores in different apps? If i have set [NSUserDefaults standardUserDefaults] setObject:someString forKey:@"someString"]; in app A...
Hi Everyone, I'm wondering if it's possible to have an instance of an AVCaptureSession and UIImagePicker both accessing the camera simultaneously? I want to create an app that shows an ambient light meter/indicator as an overlay view of a UIImagePicker when the camera is active. I previously implemented this using UIGetScreenImage() but...
I have a menu view (Menu.xib) that has several options. One of the options is 'Games' which when touched goes to a list of games (GamesList.xib). On this view there is an '+' button to add a new game (AddGame.xib). What I would like to do is from the menu, click Add Game option which will load GamesList and then AddGame. So when I have ...