ipad

Background size animation not working in IE11 or Ipad

那年仲夏 提交于 2021-02-19 07:29:21
问题 I am trying to create a simple img zoom with CSS3 animation by setting a background image to a div and then resizing that div with the animation. It works fine in FF and Chrome yet in Safari the effect is not smooth. I've read that adding -webkit-transform: translateZ(0) can help with smoother animations in Safari yet this has no effect. Can anyone help. Site here http://form-flourish.businesscatalyst.com/form-pilates.htm Here is my code. HTML: <div id="home"> </div> CSS: div#home {

iPad opens html select elements automatically

不羁岁月 提交于 2021-02-19 05:35:33
问题 I have an issue with a select box on a website that is being browsed by iPad. The select box is within a jquery dialog that is being hidden/shown with jQuery. The dialog that contains the select box is hidden when the user first hits the page. There is a trigger that the user can click to open the dialog containing the select box, but as soon as the dialog is shown iPad automatically opens up it's native select box UI instead of waiting until the user touches it. Any ideas? Here is the site

How to select external microphone

前提是你 提交于 2021-02-18 08:13:27
问题 I've successfully written a simple recording app for iOS that uses AVAudioRecorder. So far it works with either the internal microphone or an external microphone if it's plugged in to the headphone jack. How do I select an audio source that is connected through the USB "lightning port"? Do I have to dive into Core Audio? Specifically I'm trying to connect an Apogee Electronics ONE USB audio interface. 回答1: Using AVAudioSession, get the availableInputs. The return value is an array of

remove/hide rows outside minimum/maximum date range of UIDatePicker?

别等时光非礼了梦想. 提交于 2021-02-17 19:43:30
问题 I have a UIDatePicker with set minimum and maximum dates. I'm wondering if there is a way to hide the rows of the columns for the dates/times that are either before my minimum date or after my maximum date. Right now the picker displays every single day but only the current week is available to select (bold), what I would like is to have the numbers outside the range of the given week to be hidden from view. can this be done with the UIDatePicker provided by XCode or would I have to build my

How to detect if another app is running as slide over in iOS 11?

社会主义新天地 提交于 2021-02-17 15:24:49
问题 The multitasking features got updates in iOS 11, one of those was slide over which is demonstrated in the gif below. With these changes it's no longer possible to use the techniques that check frame size from iOS 9 to detect if another app is a "slide over" over my app. Is there any new method to detect if another app is running as slide over? 回答1: I was able to get this working fairly easily on an iPad Pro (which supports side-by-side apps, not just slide-overs). Here's the code: class

How to detect if another app is running as slide over in iOS 11?

五迷三道 提交于 2021-02-17 15:24:30
问题 The multitasking features got updates in iOS 11, one of those was slide over which is demonstrated in the gif below. With these changes it's no longer possible to use the techniques that check frame size from iOS 9 to detect if another app is a "slide over" over my app. Is there any new method to detect if another app is running as slide over? 回答1: I was able to get this working fairly easily on an iPad Pro (which supports side-by-side apps, not just slide-overs). Here's the code: class

adding images to app bundle permanently

蓝咒 提交于 2021-02-11 15:17:52
问题 I am adding some images that I need to use in my app in Supporting Files folder(Xcode 4.3). But when I transfer that code to some other machine(like to my supervisor) those images are not available as in I have only their names displayed in red color in that list. How can I add them permanently? 回答1: In the add files windows, and after you select the images, make sure that distination check box is selected, this check box indicate whether you want to copy the selected items into distention

date formatter different output on different devices running same iOS version

久未见 提交于 2021-02-11 15:14:38
问题 NSDate *currentDate = [NSDate date]; NSDateFormatter *format = [[NSDateFormatter alloc] init]; [format setDateFormat:@"MM/dd/yyyy,h,mm,a"]; NSString *dateString = [format stringFromDate:currentDate]; [format release]; NSLog(dateString); Output in: Device iPhone4 [240:707] 10/25/2011,22,23, Current language: auto; currently objective-c warning: Unable to read symbols for /SDK4.2/Platforms/iPhoneOS.platform/DeviceSupport/4.3.3 (8J2)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib Output

No history for a screen on the ios

 ̄綄美尐妖づ 提交于 2021-02-10 06:33:52
问题 I'm using monotouch for developing ios applications.Suppose that I have 3 screens: s1, s2 and s3. User can open them like this: s1 -> s2 -> s3 . I want that if user open s2 it can back by navigation back button to the s1 screen, but if it goes to the s3 screen by pressing back button in the navigation bar the application back to the s1 no s2. Is it possible in the ios? On the android if you use NoHistory attribute you can implement this feature, is there any equivalent in the ios too? 回答1:

iPhone/iPad front camera FOV

时间秒杀一切 提交于 2021-02-08 12:46:32
问题 There are some measured results available for certain older ios devices but I'm not able to find FOV numbers for newer models, specifically, iPhone 5s ~ 6s Plus and iPad 4 ~ iPad Pro. Also, the numbers listed on the above link don't match with some other calculated results. I'm aware that FOV number can be read using the following API NSLog(@"Camera's FOV is %f",myCamera.activeFormat.videoFieldOfView); However, since I don't have all the models available at hand and the read numbers that are