iphone

Images in iPhone app appear in Simulatpor, but not when compiled to device.

I am learning iPhone development, and have built a simple app that has an image that changes to another image when you tap it. If i build it to the simulator, it works fine, but if i build it to the device the images dont appear. i feel like they aren't being copied across. I have checked they have been named correctly and i have made s...

How to send a uiview to back of another uiview in iphone

Hi all, i am creating a music application where i am using two uiviews in my main uiview . i want that my one view should be send back of another view .Please anyone help me regarding this problem ...

how to set textfield in tableview in iphone?

Hello, I am new to iphone technology.I am right now preparing an application where the user is shown a table view as a registration form and he need to fill the data in the same form. i have taken custom cell with a label and text field. I am writing in the text box and fetching the same in a string variable that i am using to same data...

custom UISegmentedControl

I use below code for change image of each segment in segmentedControl but doesn't work How to do it? First way: [seg setImage:[UIImage imageNamed:@"1.png"] forSegmentAtIndex:0]; [seg setImage:[UIImage imageNamed:@"2.png"] forSegmentAtIndex:1]; Second way: [seg insertSegmentWithImage:[UIImage imageNamed:@"1.png"] atIndex:0 animate...

UIPopoverController without arrows?

Hi, I would like to know to make an UIPopoverController without arrows In fact I would like to simulate something like this: See that There is no arrows There is a title that is somehow inside of a expanded top border of the UIPopoverController and not inside of it like in the normal UIPopoverController. I assume this is not reall...

downloading files to iphone app from apple store

My application is somehowe a library, represented by a UITableView, each row displays three book icons, pressing on any icon would cause the app to navigate to a scrollview that scrolls between the book pages. Each book is represented in the resources directory by two things : 1- a .plist file, eg : Book1.plist 2- a folder containing i...

iPhone SDK : Create Wiggle Effect

Possible Duplicate: How do you create a wiggle animation similar to iphone deletion animation Actually this is an answer ! i made tutorial for people who want create wiggle effect with UIImageView The Wiggle Effect Code : [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:0.14]; [UIView setAnimationRepea...

iPhone SDK - How to disable the volume indicator view if the hardware buttons are pressed?

Is there any way to prevent the volume indicator view form showing if you press the volume up/down hardware bottons? It's needed for a demo app only. So the method don't need to be App Store safe. ...

Transparent NavgationBar on iPhone

I'm trying to display transparent UINavigationBar on top of Scrollview. This is actual result of code that I have written... where as I'm expecting view to be displayed like below image, which happens after I slightly scroll the image. Code : - (void) loadView { CGRect pagingScrollViewFrame = [self frameForPagingScrollView];...

Monotouch custom controls, how?

I want to create a custom ui control for my monotouch application. My control consists in a view with 2 labels and 1 image. I need to re-use it more times. Can i develop a custom uiview in monotouch? is possible to use custom controls in Interface Builder? thanks. ...

Create Shake movement in IPhone application.

I want to create an application using shaking. That is when i shake my IPad, then the icon will be move automatically depends upon shaking. If anybody about know about it, how to create these type of applications, please help me. Thanks. ...

MonoTouch.Dialog equivalent for Objective C?

Is there an equivalent of MonoTouch.Dialog, but for native Objective C apps? MonoTouch.Dialog automatically generates UITableView settings-style interfaces based on model metadata, or via a simple API. I've been experimenting with building apps with MonoTouch, but I've found the app startup time currently unacceptable, so I'm trying to...

How to populate 3 text fields with 3 different ViewController?

Hi I have the following situation: 1) On the main ViewController, I have 3 UITextFields. The user can fill them with keyboard or choose values from 3 ViewsController, which have a Picker to choose from values; 2) Now, I can declare 3 NSString in the main View Controller (obviously with @property(retain, nonatomic) so that they are to ...

How to create Universal apps in iPhone/iPad?

Hi friends, I want to create a universal apps. I have already done some apps for iPhone. Now i want to start a universal apps which means the app should be runs in iPhone and iPad. I don't have any idea about that. So please guide me and give me some sample links for that. Thanks! ...

Center website in iPhone landscape mode with meta viewport

I have a CSS border on the HTML tag of my site, when I viewed it on the iPhone it didn't respect the border as part of the width and some of the div's overlap as oppose to having a 10px gap between content and the sides of the screen. I used the meta viewport tag <meta name="viewport" content="width=device-width, initial-scale=auto"> ...

changing an item of UIToolBar programmatically

Hi, I wonder why this is not working? UIButton *infoButton = [UIButton buttonWithType:UIButtonTypeInfoDark]; [self.view addSubview:infoButton]; [infoButton addTarget:self action:@selector(showInfoViewController) forControlEvents:UIControlEventTouchUpInside]; //NSLog(@"%@", [infoButton description]); //button s...

Grasping the concept of UIviews and UIViewcontrollers

A couple of weeks ago i have started my research in Iphone app development and after alot of hello world applications in different settings i am now ready for my very first application based on the MVC design pattern used in Cocoa. This opens up alot of questions for me though and after reading the different class references about UIVie...

iphone sdk: How do i hide the tabBar in my UITabBarController?

Hi, My application consists out of a tabbarcontroller and inside i got multiple navigationControllers. Now i want to hide the bottom bar of the tabbarcontroller from the start because the buttons on the bottom bar lead to features inside the application which are just not ready yet so i dont't want the user to see them. How do i do this...

How to reduce the size of uiscrollview from top

Hi to all, i am creating a music application in which i am adding a scrollview to uiview.and another view is without scrollview. I want to reduce the size of scrollview from top. When I reduce the size of scrollview it gets reduced from bottom and that is a problem. This is my code for scrollview. scroll = [[UIScrollView alloc] initWit...

[iOS] How to reposition UILabels and UIImageViews whose dimensions change dynamically?

I have a UITableView with many rows that push a DetailViewController depending on the selection. This detail view contains a UIImageView, and several UILabels (let's say book description, book comments etc). In viewWillAppear I assign the proper content to these outlets, in order to display content for the selected row. My problem is tha...