Is it possible to adjust level of vibration in iPhone? - iphone

Is there a way to adjust intensity/level of vibration in iPhone using iPhone SDK?

There is no way to adjust vibration, it either vibrates or it doesn't.

There is no way to adjust vibration. But, there is a way to access volume of iPhone.
MPVolumeView is used for that. One has to import MediaPlayer.framework for that.
Have a quick look here.

Related

Is it possible to programmatically capture iPhone 5S slow motion video?

I couldn't find an answer to this question, and looking at Apples own apps like iMovie on iOS, the video picker does not offer a slow motion option on the iPhone 5S.
The image picker offers very little control over the video. If you are willing to dive deeper into the APIs you can use AVFoundation to capture your video and manipulate the camera properties as you see fit.
iOS 7 introduces a new AVCaptureDeviceFormat class that will give you the maximum and minimum supported frame-rates for the capture device, and you can use these to set a custom frame rate on the camera itself. I don't have an iPhone 5S to hand so I can't actually verify whether this API goes all the way down to 120FPS.

Disable Vibration iphone

Is there a way to disable the vibration of iPhone programmatically?
All I could find is how to enable the vibration. Basically I want to toggle the Vibration Mode through UISwitch.
Can anybody help me out if there's a way to do that?
As I know you can't do this . Because apple not allowing these kind of functions .

Screen recording in iphone

I want to make a screen recorder with iphone.
Is it possible to do that?
If yes how can i implement a screen recorder with xcode, anybody can help me.
I know how to implement(i mean the logic),that is add pictures to a video file in a regular interval.but how can i do this with iphone sdk
Help me...
Assuming you mean a standard iPhone which is not jailbroken:
No, you can't. You could write an app that captured images of its own display when running, but you can't capture the screen in general (e.g. the home screen, or other apps' screens). It's not the sort of software Apple would allow, even if you found a way to hack around it (which I imagine wouldn't be possible).
What about this? It seems to indicate that video screen capture and saving (using the UIGetScreenImage function) is now allowed by Apple.
http://www.tuaw.com/2009/12/15/apple-relents-and-is-now-allowing-uigetscreenimage-for-app-st/

May I handle moving icon of my iPhone application

Is it possible to handle the animation of moving icons in an iPhone application? If so, how?
As far as I know, you cannot. The icon motion animation is generated by iOS based on the still icon, and you have no control of it.
I think without .gif image you can not make animated icon and ios will not support that so you have no control on it.

How to make iPad use the #2x.png high res images in "2x" mode

I've read the documentation and googled until I couldn't google anymore, but still I cannot figure out how to make my iPhone app use the higher resolution images when displayed in "2x" mode on the iPad.
I have Icon.png Icon#2x.png and Icon-72.png and they work fine, but I don't want to have to rename all of my images. Also, the "2x" just seems to scale up pixels so text and IB objects look terrible. Is there a fix for this? Any suggestions would be greatly appreciated!
Note: This is not a universal app. I don't want to make it into a universal app. I just want it to scale up and look pretty on the ipad.
It is possible, at least in Cocos2D apps. Matt Rix does exactly this in his app Trainyard and it looks great on the iPad at 2x! He covers some of the details on his blog: Retinafy your Game.
Apple want you to write native iPad apps, so they deliberately don't support this, and there's no way to make it happen that I'm aware of.
You can register for the notification _UIClassicApplicationWillChangeZoomNotificationName and scale your graphics appropriately, i.e. by setting the rasterizationScale on the CALayer to the value returned by [[UIScreen mainScreen] scale].