How to put Default.png in landscape mode?
I have Default.png(480*320) image.My question is that when i start application then Default.png image is show in landscape mode.How it possible? ...
I have Default.png(480*320) image.My question is that when i start application then Default.png image is show in landscape mode.How it possible? ...
Hello, I am a newbie to iphone development. I have one scrollview in which there is a button and several textfields. This button when pressed add a new text field is added below existing text fields. This works fine but after adding two textfields other added textfiels start hidding. I am increasing content size of scrollview everytim...
hi .... what 's the easiest way to play a music file such as Mp3 with pause botton ? very very simple a button play and another button pause that music .. can you write that code ! ...
Hello! I have an iPhone application with a TabBarController. I can access the current ViewController with [appDelegate.myTabBarController selectedViewController] But how can I get the name of this controller? For example the name of the selected ViewController is "TestViewController". How can I get this string/name? I want to check ...
I want to play an audio file which is posted on a website. I'm trying to use AVAudioPlayer and set the url to its website link. But the bgPlayer turns out to be nil. I think I can download this audio file and play it afterwards, but is there any way to play it while I'm downloading it? NSURL *bgURL = [NSURL URLWithString:@"http://www.ra...
In our iPhone app we need to draw a route on Google Maps (GMaps is the only option, we can't consider other maps). We draw the route while the user walks around - GPS tracking basically. Then we display all saved routes on the map. The problem is that Google Maps is almost unusable. It is impossible to scroll the map, zoom it (everythin...
Can anyone please specify that how can we reallocate the position of UINavigationbar ? Please go through the below link & find out an similar solution related to UINavigation. http://www.youtube.com/watch?v=YibnNbicD1o ...
Is there an opportunity to check if iPhone is 3GS or 3G? ...
I want to view a local PDF (in my iPhone app) and be able to jump to a specific page. Seems like the UIWebView is the way to go, however, I can't find any information on jumping to specific pages. Is this impossible? Are there any other techniques I can use? thanks, Howie ...
Hi everybody ! Can someone help me ? I have a NSString with @"12.34" and I want to convert it into a NSString with the same float number but in single precision 32bits binary floating-point format IEEE-754 : like @"\x41\x45\x70\xa4" (with hexa characters) or @"AEp¤"... I'm sure it's something easy but after many hours of reading the doc...
First of all, the question is very simple, but I have tried to look around on the Internet and I couldn't find a name for this. Several applications such as "Ping Lite" have used this view in their application. It allows you to have submodules/applications as icons and you can scroll the page around just like when you are at "home" scree...
Hi, all! I want to get pixeldata of an imageView (i.e. all the pixels occupied by the imageView in an NSMutableArray) which I need in order to detect collisions between two imageViews. Can anybody please help me? ...
Hello.. i would like to know is there any way to convert .doc or any file to .pdf file in iphone app. Thanks in Advance.. ...
Hello guys! In the interface builder, I can set the alignment for my UIToolbar to be at the bottom of my screen or to be at my top of my screen. How can this be done programatically? ...
Is there any way to apply this to a div? ...
I am using the UIImagePicker to access the camera on my iPhone app. I would like to be able to have two different overlays for the imagepicker, depending on the orientation of the iPhone. Is it possible to do this? It seems like if I place the following method in the class that owns the UIImagePickerController, it does not get called at ...
In a UIScrollView I have a UIImageView with the contentMode set to Aspect Fill. When I rotate the simulator to landscape mode the UIImageView shows the center of the image and I cannot scroll upwards to see the whole picture. How do I fix this so that when I rotate the iPhone I instead see the top of the image (but still scaled with As...
My web app checks the first four bytes against the file extension before accepting uploaded images. A coworker showed me images from his iPhone which are being rejected. These have a different fourth byte (e1 = 225 instead of the expected e0 = 224). Is this usual for iPhones? Are there other possible magic byte strings used in JPG files...
- (void)viewWillAppear:(BOOL)animated { [[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES]; [navigationController setNavigationBarHidden:YES animated:YES]; } The above code works perfectly fine and when the view is about to appear, a nice animation begins and after that, both the status bar and navigation bar are...
Hi, I have an iPhone application from which I want to send invitations to facebook user's selected friends. I am successfully able to load friends list but not sure how to send message/email to them. Can someone please help me with this? Thanks a lot! ...