Vibrate ipod touch 4 - ipod-touch

I buy Ipod Touch 4.
But, when someone is call me to my facetime account, it doesnt vibrate like say the apple description ipod article.
How can i activate it.

iPod doesn't have vibro. Physically. No way.

Related

Play sound on Apple Watch from iPhone

Can't find a clear answer on the internet.
I want to make an iOS App, which can play a sound on the Apple Watch, like you can play a sound on your iPhone from the Apple Watch (by swiping up from the watch face.)
Anyone knows if thats possible?
Cheers!
Matthijs

Vibrations and alert not working in iOS

so I'm running on my iPad Mini and my code looks like
-(void)viewDidLoad{
[super viewDidLoad]
AudioServicesPlaySystemSound(1005);
AudioServicesPlayAlertSound(kSystemSoundID_Vibrate);
}
and I imported
#import <AudioToolbox/AudioToolbox.h>
#import <AudioToolbox/AudioServices.h>
in my ViewController.h. Only the first sound plays, even though according to the documentation the second one should also beep. How can I fix this?
EDIT:
To people looking at this, in older devices this would beep I think - the documentation says:
"Depending on the particular iOS device, this function plays a short sound and may invoke vibration. Calling this function does the following on various iOS devices:
iPhone—plays the specified sound. If the user has configured the Settings application for vibration on ring, also invokes vibration. However, the device does not vibrate if your app’s audio session is configured with the AVAudioSessionCategoryPlayAndRecord or AVAudioSessionCategoryRecord audio session category. This ensures that vibration doesn’t interfere with audio recording. For an explanation of audio session categories, see Categories Express Audio Roles.
iPod touch, original—plays a short alert melody.
iPod touch, 2nd generation and newer—plays the specified sound."
but I think that functionality has been removed.
There is no vibration on iPad.
From documentation:
#constant kSystemSoundID_Vibrate
Use this constant with the play sound APIs to vibrate the device
- iOS only
- on a device with no vibration capability (like iPod Touch)
this will do nothing
So AudioServicesPlayAlertSound(kSystemSoundID_Vibrate); will do nothing on the iPad
iPads don't have a support physical vibration.
You can use these codes only in iPhones and newer versions of iPods.

Enabling AirPlay for IOS application

Hi I am developing IOS application in which I am showing HLS videos in my application. I want to enable Airplay option for my application.
I tried it in following way :
_moviePlayer = [[MPMoviePlayerController alloc]
initWithContentURL:url];
[_moviePlayer setAllowsAirPlay:YES];
But it is not showing Airplay option for my application. I checked it once I start playing video (my player appears on screen) in my setting AirPlay option is not coming up.
Is there any other setting needed. Need Some help. Thank you.
You have to sender and receiver and also same WIFI network then AirPlay is display on iPhone of your screen to access the Control Center. otherwise the AirPlay symbol is not display on Control Center.
To use AirPlay, you need these:
1. iPhone 4 (or later), iPad, iPad mini, or iPod touch (4th generation or later)
2. For videos or photos: Apple TV (2nd or 3rd generation)
3. For music: Apple TV (2nd or 3rd generation), AirPort Express, or AirPlay-enabled speakers or receivers
Use AirPlay
1. Connect your iOS device and Apple TV or AirPort Express to the same Wi-Fi network.
2. Swipe up from the bottom of your screen to access Control Center.
3. Tap AirPlay.
SNEDER : iPhone 4 (or later), iPad, iPad mini, or iPod touch (4th generation or later)
RECEIVERS : Apple TV (2nd or 3rd generation), AirPort Express, or AirPlay-enabled speakers or receivers
Note : SNEDER and RECEIVERS to the same Wi-Fi network.

How to disable iPod Music Control when device screen is locked?

I'm using MPMusicPlayerController in my app and it works fine in background.
The problem is I don't want user to control the song via iPod music app while device is locked?
Thank you for any helps.
I don't have knowledge in ipod.
As on IOS, You should detect when device goes sleep/lock mode. When the device goes lock/sleep, then u can control your music in sleep mode method function.

iOS 4.2.1: Video files not being played by MPMoviePlayerController on iPod Touch

I'm using the MPMoviePlayerController with my App. It works fine both with the XCode simulator and the device (iPod Touch with iOS 4.3.1), but when running the App in XCode's Debug Mode on an iPod Touch running 4.2.1, I get an error which says that the video format is not being supported.
The video is an mp4-file and as far as I know the device should be able to play mp4 files.
Your help will be very much appreciated.
One possibility is that your video is H.264's Main Profile. This is supported by the iPod Touch 4th gen, but not the iPod touch gen 2 and gen 3 - these support only Low Complexity Baseline and Baseline profiles.

Resources