iOS
Deployment Info XcodeのプロジェクトファイルのDeployment Infoで回転許可の設定ができます。 縦画面固定 横画面固定 Info.plist 上記の設定でInfo.plistに変更されるはずですが、反映されない可能性もあるようなので確認してみてください。以下のような設…
Groupを作成するときの以下それぞれについて。 New Group フォルダを作成してグループを作成 New Group without Folder フォルダを作成せず(Finderから確認すると作成されていないのが分かります)にグループを作成 アイコンの左下に三角マークあり New Group…
private extension UILabel { func countLines() -> Int { guard let text = self.text as NSString? else { return 0 } let rect = CGSize(width: self.bounds.width, height: CGFloat.greatestFiniteMagnitude) let labelSize = text.boundingRect(with: r…
if UIDevice.current.orientation.isPortraint { print("縦向き") } if UIDevice.current.orientation.isLandscape { print("横向き") }
備忘録としてディープリンクのテスト方法を簡単にまとめました。 iOS SafariでディープリンクのURLを入力して開く(※シークレットモードだと開かない) Android シェルで開く $ adb shell am start -W -a android.intent.action.VIEW -d <URI> <PACKAGE> developer.android</package></uri>…