問題タブ [ipad-2]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
objective-c - 静的/スタック メモリとヒープ メモリの主な速度の違い
メモリが頻繁に再割り当てされると、ヒープメモリに格納されたデータへのアクセスが非常に遅くなるという問題に遭遇しました。

と比較して

この動作を説明できるものは何ですか?
ios - Phonegap を使用してセカンダリ カメラに変更する
ipad2 アプリで phonegap 1.2 を使用しています。メインカメラではなく、正面向きのカメラを使用する必要があります。API がカメラをアクティブにすると、正常に起動しますが、背面のメイン カメラが使用され、ユーザーは前面のセカンダリ カメラに切り替える必要があります。使用するカメラを選択できる Phonegap API のパラメーターが見つかりません。
iphone - 最新の ffmpeg を使用した IPad / iPhone ビデオ ストリーミング用の更新された http セグメンターはありますか?
最新の ffmpegライブラリをサポートするhttp ファイル セグメンターがあるかどうかを知りたいですか?
これまでのところ、いくつかのプロジェクトを見つけましたが、ffmpeg 0.9 を使用してそれらをコンパイルすることはできませんでした
- http://svn.assembla.com/svn/legend/segmenter/
- http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/
ありがとう!
camera - Image inside camera in iPad 2 appears rotated 90 degrees clockwise
I have an app that works on landscape, already in the store, and decided to add a camera for a certain new feature in my next update.
The camera works perfect in my iPhone 3G and iPod 4S ( i have an ipad, but it doesn't has a camera), but one of my testers with an ipad 2 reported that the image inside the camera appears rotated 90 degrees in clockwise direction ( same for the small camera icon in the button). Even if the user rotates the ipad 2 the image always mantains that rotation. Once the picture is taken it appears it's saved correct position.
- Before giving more details, any idea of why i situation like this can happen ? ( that could help me to trace the problem). I just didn't know it was possible to rotate the preview image inside the camera !, and i'm currently clueless about what can cause to produce this behavior.
- It could be something related to my view controller ?. I'm returning NO for 'UIInterfaceOrientationPortrait' and 'UIInterfaceOrientationPortraitUpsideDown'. YES for 'UIInterfaceOrientationLandscapeLeft' and 'UIInterfaceOrientationLandscapeRight'. If understand correctly it's as it should be.
- The camera implementation is pretty straightfoward, just an UIImagePickerController. After creating it, i'm adding it as subview to an specific uiview that happens to be rotated 90 degrees Clockwise ( could this be the issue ?, but if it is, why it works correctly in my other devices with camera ?!). I tried to apply a transformation ( [picker view].transform = CGAffineTransformMakeRotation(M_PI);) but it had no effect.
By the time being i don't have an ipad 2 ( it's on it's way), but in the meantime i would like to solve the issue, or at least try to understand why it could be happening.
Thanks in advance.
Cheers !
Here's the code for the view controller method where i handle the rotation:
javascript - Javascript を使用して IPad 2 で選択したテキストを取得する
HTMLドキュメントの一部を選択して、何らかの注釈を付けることができるWebアプリケーションを開発しています。私が使用する選択したテキストを取得するには window.getSelection()、IE9、FF、および Safari で非常にうまく機能します。ただし、iPad 2 で同じページを使用すると問題が発生します。
- 単語を1秒間タップして選択すると
window.getSelection()、適切な選択が返されます。 - テキスト範囲を作成すると(ここで説明されているようにhttp://blog.laptopmag.com/how-to-select-copy-and-paste-text-on-the-ipad)常に「null」を返します。ウィンドウ、ドキュメント、および関連するイベント オブジェクトを既に調べましたが、成功しませんでした...
どんな助けでも本当に感謝します!
編集:ほんの一例です。テキストを選択し、 ボタンを押します。Safari (PC) では、関数は選択した値を出力します...
ios - Cocos2d EXC_BAD_ACCESS
私はcocos2dを初めて使用し、突然このEXC_BAD_ACCESSを取得しました。新しい勝利メニューを作成しましたが、エラーが発生しました。エラーは、解放されたオブジェクトを呼び出したためだと思いますが、何も解放しませんか? 私のデバッグコンソールにはエラーがありませんでした。これは奇妙です
これが私のLevel_1.mです
私は完全に終わっていませんが、空のメソッドがいくつかあるかもしれませんが、それが問題の原因ではないと確信しています
objective-c - iPadアプリに@2xグラフィックが必要ですか?
私は初めてユニバーサルアプリを作成していますが、iPhoneアプリの場合と同じようにすべてのグラフィックの@ 2xバージョンを含める必要があるのか、それともiPadでサポートされていないのか、iPadで疑問に思っています。つまり、背景画像が1024 x 768の場合、2048 x 1536 @ 2xバージョンが必要ですか?
ありがとう
xcode4 - iPadアドホックバージョンがデバイスで実行されない
AdHoc配布アプリの実行中に問題が発生しました。アプリケーションを開発し、実際のデバイスで開発証明書を使用してテストしましたが、正常に実行されましたが、adHocを作成してクライアントに送信してテストすると、アプリケーションがインストールされます。正常に実行されますが、実行されません。この場合の問題はどこにありますか?
大きなイメージファイル(各イメージで約3〜5 MBですが、イメージの数は少なく、約5〜6イメージ)を使用するアプリケーションは、開発証明書でどのように実行できますか?
解決:
テストされたアドホックデバイスは3.4iosバージョンを使用していたようで、アプリはios 5用に開発され、ios 5の機能が含まれていたため、アプリを実行するたびにクラッシュしていました。
事前にthx。
iphone - iPhone/iPad がユーザーによってパスコードが設定されているかどうかを確認する適切な方法はありますか
私はずっと前にこの質問をしました。
不可能かもしれないことはわかっていますが、私の知る限り、「友達を探す」にはこの機能があり、非常にうまく機能しているので、それを行うきちんとした合法的な方法があるのではないかと思います.
ios - MPMoviePlayerController を備えた特定のデバイスのヘッドフォンでのみ再生されるサウンド
皆さんにとって奇妙な問題があります。
MPMoviePlayerControllerはビデオを正常に再生しており、オーディオはヘッドフォンでのみ再生されます。
本当のドラッグは、これが一部のiPad と iPhone でのみ発生することです。
ここに簡単な失敗例を作成しました。
http://www.porcaro.org/MPMoviePlayerController/TestMovie.zip
iPhone 4S、iPhone 4、および iPad 2 で正常に動作し、失敗するのを見てきました。
これが最も関連性の高いコードです。洞察に感謝します。Apple にもバグを送信します。