Scrolling the iphone simulator - iphone

I am a beginner in iphone development, and I want to make scrolling in the iphone simulator.
How can I make it possible? Can anybody give me code for it?

You should look into the ScrollViewSuite example that Apple gives then. They use scroll views in a couple different ways to show off what they can do.
More information here: http://developer.apple.com/iphone/library/samplecode/ScrollViewSuite/Introduction/Intro.html

Related

Making my iPhone 5 app compatible with iPhone 4, iPod Touch, legacy iPhone?

I am new to xcode and mobile app design in general, but was able to pull together some resources and make a nice looking app optimizing for iPhone 5. However, I noticed a few problems with compatibility and am hoping someone can suggest to me a quick fix.
First, I take advantage of the entire iPhone 5 screen size, and when loaded on iPhone 4 or earlier the placement of icons is all awry. Would this be fixed by just making the entire view scrollable somehow? And if so, can someone point me in the right direction to accomplish this?
Second, I've noticed that if I am using my app while in a call (and therefore have the green notification bar at the top) it also causes misalignments for my objects. Is there a way to prevent this?
Thanks for the advice.
If you are targeting iOS 6 you should take advantage of Auto Layout. Here is a good tutorial to get started http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2
Add a Default-568h#2x.png launch image.
and check the all screen.

Circles in the Mail.app on the iPhone - iOS Programming

In the Mail application on the iPhone, when edit is tapped, small circles appear next to the cells which allow the user to tap multiple cells.
Is this a built in feature? How can I get this set up in my UITableView in my iPhone application?
Well, sort of. There is an „editing mode“ for UITableViews built-in. Have a look at http://cocoawithlove.com/2009/01/multiple-row-selection-and-editing-in.html Matt explaines it pretty well, in my opinion.
This is not available by default in iOS 4. As ckruse mentioned there are a few guides to accomplish the look yourself. If you have a paid iOS Developer account then I suggest you look at the UITableView documentation in iOS 5 ;)

Photo Slider Iphone

I want to make a slider just like CNN's iphone application has.
http://i56.tinypic.com/15wdphg.jpg
i search all over but i didn't get any help even any clue. If some one has any idea than please share it with me, so i will make this slider.
Thanks
That way of displaying images is called Coverflow - see the question discussing open-source libraries for iphone with cover-flow implementation.
To the libraries listed there I would also add Tapku library.

What is the iPhone API or Class that does picture scrolling with the cool reflection effect?

For example, in CNN's iPhone app, if you rotate the phone into landscape mode, it shows all the stories as pictures that you can scroll with your finger. It looks really polished with even a "reflection" effect. I've seen another app also do this, leading me to believe that it is a standard iPhone SDK API.
Here is a link to a screenshot from the CNN app so you can see what I'm talking about:
http://www.itnewsafrica.com/?p=8422
Anyone know what Class this is?
Thanks!
Try this: Open source CoverFlow library for iPhone
Also do a google search for Coverflow. I think that might do what you want or something close to it.

Is it the same write the iPhone and iPad app?

I have a question about the objective C. I am writing the iPhone application and I want to app which can also run on iPad. Is there are some change do I need to do? As I set the element in code rather than using the Interface builder. Do I need to reset the x,y,width and height for the application? Thank you very much.
You can run exactly the same app developed for iPhone on the iPad. However, it will not use the full screen of the iPad. Look at the Facebook app for instance, you can zoom it but it doesn't look very nice. If your goal is to run an iPhone app on the iPad, you don't have to bother much. If you want to really support iPad in your application you should implement a separate UI for iPad and this is supported in XCode. The iPad has of course a larger screen but also some additional layouts and controls that make apps look great on the iPad.
Have a look at http://developer.apple.com they have more information about this.