presentViewController[swift,Objective-C,ios13]

iOS13から画面遷移をするとポップアップしたようになりスワイプでもviewを消せるようになった。

私のアプリでA→B(問題があるView、スワイプ)→A→B(dissmissボタンを押す)この時に何故か落ちる。

Fatal Exception: NSInternalInconsistencyException Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.

メインスレッドにキューを入れればいいようだが入れても直らなかった。

iosにそんな時間をかけたくなかったのでスワイプをそもそもできなくした。(画面をフルにした。)

Appdelegate.m obj-c

FilterNewShowViewController *shopViewC = [[FilterNewShowViewController alloc] initWithNibName:@"FilterNewShowViewController" bundle:[NSBundle mainBundle]];

>>>>shopViewC.modalPresentationStyle =  UIModalPresentationFullScreen;  

>>>>shopViewC.modalInPopover = YES;  //スワイプで消えなくなる。

self.window.rootViewController = shopViewC;

[self.window makeKeyAndVisible];
Viewcontroller.m obj-c
FilterNewShowViewController *shopViewC = [[FilterNewShowViewController alloc] initWithNibName:@"FilterNewShowViewController" bundle:[NSBundle mainBundle]];
>>>>shopViewC.modalPresentationStyle = UIModalPresentationFullScreen; //表示形式の選択
>>>>shopViewC.modalInPopover = YES; //スワイプで消えなくなる。
[self presentViewController:shopViewC animated:YES completion:nil];
Viewcontroller.swift
let vc = UIViewController()
>>>>vc.modalPresentationStyle = .fullScreen;
>>>>vc.isModalInPresentation = true;
present(vc, animated: false, completion: nil)

Apple リジェクト3 Guideline 3.1.2 – Business – Payments – Subscriptions after Guideline 4.3 – Design [reject]

2018年12月7日 14:06
差出人: Apple
Guideline 3.1.2 – Business – Payments – Subscriptions

We noticed that your app’s metadata did not fully meet the terms and conditions for auto-renewing subscriptions, as specified in Schedule 2, section 3.8(b) of the Paid Applications agreement.

App Store Information
We were unable to find the following App Store Information items in App Store Connect.

– Information about the auto-renewable nature of the subscription in your app’s description:
• Title of publication or service
• Length of subscription (time period and content or services provided during each subscription period)
• Payment will be charged to iTunes Account at confirmation of purchase
• Subscription automatically renews unless auto-renew is turned off at least 24-hours before the end of the current period
• Account will be charged for renewal within 24-hours prior to the end of the current period, and identify the cost of the renewal
• Subscriptions may be managed by the user and auto-renewal may be turned off by going to the user’s Account Settings after purchase
• Any unused portion of a free trial period, if offered, will be forfeited when the user purchases a subscription to that publication, where applicable
– A link to the terms of use in either the app description or EULA field

Next Steps

To resolve this issue, please revise your app’s metadata to include this missing information. If the above information is in your app, please reply to this message in Resolution Center to provide details on where to locate it.

上記の通り指示があり情報を付け加えた後からの下記

Hello XXX,

Thank you for providing this information.

Upon further review, we found that your app does not comply with the following guidelines:

Guideline 4.3 – Design

We noticed that your app provides the same feature set as other apps submitted to the App Store; it simply varies in content or language, which is considered a form of spam.

The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved.

Next Steps

– Review the Design section of the App Store Review Guidelines.
– Ensure your app is compliant with all sections of the App Store Review Guidelines and the Terms & Conditions of the Apple Developer Program.
– Once your app is fully compliant, resubmit your app for review.

When creating multiple apps where content is the only varying element, you should offer a single app to deliver differing content to customers. If you would like to offer this content for purchase, it would be appropriate to use the in-app purchase API.

Alternatively, you may consider creating a web app, which looks and behaves similar to a native app when the customer adds it to their Home screen. Refer to the Configuring Web Applications section of the Safari Web Content Guide for more information.

Submitting apps designed to mislead or harm customers or evade the review process may result in the termination of your Apple Developer Program account. Review the Terms & Conditions of the Apple Developer Program to learn more about our policies regarding termination.

While your App Store Connect Application State shows as Metadata Rejected, we still require a new binary to correct this issue.

Best regards,

App Store Revie

気が狂ってる。
ちなみにReviewのwは本当になかった。
この時もLeoだったようなのでいい加減だった。

Apple リジェクト2 Guideline 2.3.7 – Performance – Accurate Metadata [reject]

今まであったパターン2

XXXX年XX月XX日 1:22
差出人: Apple
Guideline 2.3.7 – Performance – Accurate Metadata

Your app name or subtitle to be displayed on the App Store includes keywords or descriptors, which are not appropriate for use in these metadata items.

Specifically, the following words in your app name or subtitle are considered keywords or descriptors:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Next Steps

To resolve this issue, please revise your app name or subtitle to remove any keywords and descriptors from all localizations of your app. Keywords can be entered in the Keywords field in App Store Connect to be used as search terms for your app.

Before submitting your app to the App Store, ensure there are no unnecessary phrases, words, or descriptions in the app’s name, description, icons, preview, or other metadata fields. As a best practice, your app’s metadata should communicate the app’s value in as few words as possible.

Resources

For information on how to revise your app name, please review Renaming a Project or App.

For information on changing the app name and other metadata in App Store Connect, please review the View and edit app information page.

For resources on selecting a memorable and unique app name and subtitle, you may want to review the App Store Product Page information available on the Apple Developer website.

Since your App Store Connect status is Metadata Rejected, we do NOT require a new binary. To revise the metadata, visit App Store Connect to select your app and revise the desired metadata values. Once you’ve completed all changes, reply to this message in Resolution Center and we will continue the review.

素直に編集するべし

Apple リジェクト 2. 3 Performance: Accurate Metadata 4. 3 Design: Spam [reject]

今まであったパターン1

XXXX年X月XX日 15:41
差出人: Apple
2. 3 Performance: Accurate Metadata
4. 3 Design: Spam
Hello,

Thank you again for your response.

If you would prefer to speak about this issue over the phone, we can arrange for an Apple Representative to call you within the next three to five business days to discuss your App Review issue.

To request a call, please reply to this message with the best phone number to reach you.

Best regards,

App Store Review

この時は電話しても現状は変わりません。意味がないでしょう。
おそらく日本人なら長谷川が出てくるでしょう.

可能な限り問題解決センターやApp review Boardでやりとりをして文章化して記録に残しましょう。
電話ですと一方的にAppleの主張がされてエビデンスの要求をしてもだしてきませんし記録に残りません。
公正取引委員会に提出するためにも文章化し記録に残しましょう。

androidのwebviewでjsのalertが表示されない[java]

androidのwebviewでjsのalertが表示されない

[確かiOSでも似たようなことがあったな]

webviewで単にwebを表示しただけではalertが表示されないので1行追加する必要がある。

mWebView.setWebChromeClient(new WebChromeClient());

元のコード

mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.addJavascriptInterface(new JavaScriptInterface(), "showHtml");
mWebView.setWebViewClient(new WebViewClientSample());
mWebView.loadUrl(url);

修正

mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.addJavascriptInterface(new JavaScriptInterface(), "showHtml");
mWebView.setWebViewClient(new WebViewClientSample());
mWebView.setWebChromeClient(new WebChromeClient());
mWebView.loadUrl(url);

window.openで値を渡す方法 [javascript,html]

javascriptのwindow.openを使って新しいページを開きたい。

その時に一緒にデータを渡したい。

遷移元のjs

var mapForm = document.createElement("form");
mapForm.target = "Map";
mapForm.method = "POST"; 
mapForm.action = "xxxx.html"; //絶対パスもOK


var mapInput = document.createElement("input");
mapInput.type = "text";
mapInput.name = "before";
mapInput.value = 'なんかのてきすと';
mapForm.appendChild(mapInput);


document.body.appendChild(mapForm);

map = window.open("", "Map", "newtab");


if (map) {
mapForm.submit();
} else {
alert('You must allow popups for this map to work.');
}

データ遷移先のHTML

<textarea id="before" class="resizable" name="before">なにかのてきすと</textarea>

日付の取得、UnixTime取得[Javascript]

日付の取得(yyyy/mm/dd hh:ii:ss)
//textには何かしらのUnixtimeがあるex)1587046621
var text = document.getElementById('input_0').value;




var ux = text;
var d = new Date( ux * 1000 );


var year = d.getFullYear();
var month = d.getMonth() + 1;
var day = d.getDate();
var hour = ('0' + d.getHours()).slice(-2);
var min = ('0' + d.getMinutes()).slice(-2);
var sec = ('0' + d.getSeconds()).slice(-2);
alert(year + '-' + month + '-' + day + ' ' + hour + ':' + min + ':' + sec);
UnixTime取得
//今
var date = new Date() ;
// UNIXタイムスタンプを取得する (ミリ秒単位)
var a = date.getTime() ;
var b = Math.floor( a / 1000 ) ;
alert(b)
日付(yyyy/mm/dd hh:ii:ss)からUnixtimeに変換
//textには何かしらの日付があるex)2020/04/16 23:17:01
var text = document.getElementById('input_1').value;
var _d = text?new Date(text):new Date();
var c = Math.floor(_d.getTime() / 1000);
alert(c)

Apple リジェクト [Other – Other We are unable to continue this app’s review because your Apple Developer Program account is currently under investigation for not following the App Store Review Guidelines’ Developer Code of Conduct.]

高雄のメイドカフェに行く途中で(現地18:22)下記リジェクトを受け、メイドカフェに行く気が失せてしまった。。。

2020年01月02日 19:22
差出人: Apple
Other - Other
Hello,

We are unable to continue this app’s review because your Apple Developer Program account is currently under investigation for not following the App Store Review Guidelines’ Developer Code of Conduct.

Common practices that may lead to an investigation include, but are not limited to:

- Inaccurately describing an app or service
- Misleading app content
- Engaging in inauthentic ratings and reviews manipulation
- Providing misleading customer support responses
- Providing misleading responses in Resolution Center
- Engaging in misleading purchasing or bait-and-switch schemes
- Engaging in other dishonest or fraudulent activity within or outside of the app

During our investigation, we will not review any apps you submit. Once we have completed our investigation, we will notify you via Resolution Center.

We do not require any additional information from you at this time, nor do we have any additional details to share. We appreciate your continued patience during our investigation.

Best regards,

App Store Review

身に覚えはない。
Appleの審査員の汚さ、いい加減は十分熟知してるのでとりあえず放置(楯突くとろくなことはないので)。明らかな遅延行為なのでお金を返して欲しい。
公正取引委員会には通知済。
https://www.jftc.go.jp/cgi-bin/formmail/formmail.cgi?d=digitpf
Appleからは2020年4月20日になっても何も報告、更新なし。

追記2020年5月09日

下記の様に返信した

2020年5月9日 9:15
Hello.
Thank you for your review.

How is my account survey progressing?
More than 4 months have passed since the first reject.

We apologize for the inconvenience, but please check it carefully.
Best Regards,

こんにちは。
いつも審査ありがとうございます。

アカウント調査はどのように進んでいますか?
最初のリジェクトから4か月以上が経過しました。
ご迷惑をおかけしますがご確認ください。
宜しくお願いします。

約7時間後下記の通り返信あり。

Hello,

We understand your concern regarding this extended review. However, we still need additional time. No action has been taken against your app(s) at this time.

Once we have completed our review, we will notify you via Resolution Center of any next steps.

We appreciate your continued patience.

Best regards,

App Store Review

まだアカウントの調査に時間が必要な様です。相当大規模な調査の様です(皮肉)

私としては意図的な審査の遅延行為と考えている。開発アカウントの返金($100/年)もしくは期限の延長を求めようと思う。
公正取引委員会には再度通知をしようと思う。
https://www.jftc.go.jp/cgi-bin/formmail/formmail.cgi?d=digitpf

 

追記2020年5月12日

18:30頃下記の通りAppReviewBoardに日本語にて連絡

こんにちは。
4ヶ月半前に、Apple Developer Programのアカウントが調査中のため、このアプリのレビューを続けることは不可能だと言われました。
詳細がわからないまま4ヶ月半も待たされています。
すでに100ドルの3分の1以上が無駄になっています。
私は他の多くの人がこの「調査」のためにレビューを拒否されていることを知っています。
「調査」の状況はどうなっているのでしょうか?
今、何が行われているのかを知りたいです。

果たして毒林檎からどんな返信が来るでしょうか?!

 

追記2020年5月14未明連絡がありました。

Hello XXXX,

Thank you for contacting the App Store Review team. I understand that you are looking for information on your account’s investigation.

We understand your concern regarding this investigation. However, your account is still under investigation and no action has been taken against it at this time. We are investigating your apps, account, and any related accounts to ensure compliance with the App Store Review Guidelines, Developer Code of Conduct, and Apple Developer Program License Agreement.

Due to the nature of the investigation you will be ineligible to receive an expedited review until the investigation is completed. After we have completed our investigation, we will notify you via Resolution Center of any next steps.

If we require any additional information about your app or account, we will contact you. We appreciate your continued patience during our investigation.

Your case number is XXXXXXXXX.

Best regards,

Connor
App Store Review

いまいちわからないのが何故俺??(理由は明かせないのは100歩譲って理解しようとしよう)
なぜ俺は4ヶ月半以上かかる?(ここが一番わからない)
2週間で解除された友人もいます。
ネットで検索すると国内外問わず同様の案件で困っている人も大勢います。
解決した人の期間もまちまち。
噂レベルだと法人にはこない。
これが本当だとすると優越的地位の濫用の云々ではなく日本国憲法14条 、憲法違反だと思うのですが、、、
2年前にも法人は不問で個人開発者のギャンブルアプリを突如ストアから削除した前科があるのでやりかねない。
(ギャンブルアプリと言っても射幸性を煽るものでもなく、スロットが単に回ってるものだし、、、)

日本でのアプリ配信はiTune K.K(確か都内に置いてる)を通して事業をしているので事業停止命令とか出せると思うのだが、、、

 

追記2020年5月14

返信あり。

今までに比べたら多少返信は早い。

2020年5月14日 12:13
差出人: Apple
4. 3 Design: Spam
Other - Other
Hello,

Thank you for your continued patience.

We are writing to let you know that we have completed our investigation of your Apple Developer Program account. Upon further investigation, we found that your app does not comply with the following guidelines:

Guideline 4.3 - Design


We noticed that your app provides the same feature set as other apps submitted to the App Store; it simply varies in content or language, which is considered a form of spam.

The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved.

Next Steps

- Review the Design section of the App Store Review Guidelines.
- Ensure your app is compliant with all sections of the App Store Review Guidelines and the Terms & Conditions of the Apple Developer Program.
- Once your app is fully compliant, resubmit your app for review.

When creating multiple apps where content is the only varying element, you should offer a single app to deliver differing content to customers. If you would like to offer this content for purchase, it would be appropriate to use the in-app purchase API.

Alternatively, you may consider creating a web app, which looks and behaves similar to a native app when the customer adds it to their Home screen. Refer to the Configuring Web Applications section of the Safari Web Content Guide for more information.

Submitting apps designed to mislead or harm customers or evade the review process may result in the termination of your Apple Developer Program account. Review the Terms & Conditions of the Apple Developer Program to learn more about our policies regarding termination.

Best regards,

App Store Review

悪名高き4.3 spamを久しぶりに受けました。

アプリをインストールして審査した形跡もない。

もうただの嫌がらせにしか見えないw もちろん4.3に関しても身に覚えはありません。

このアプリは諦めるし消します。ちなみに新規ではなくアップデートです。

丁度、上記と同時刻にHuawei App Store(huawei app gallery)の初アプリの申請が通りました。

何かの縁ですね。これからはiOSは無視してこちらに力を入れます。

Appleの件に関しては役所には意見を集めるだけではなく、対抗措置を出して欲しい。

民間人にも声をかけましたがAppleは神だからしょうがないというのは思考の停止じゃないか。

多少外国語ができるので自分の事を評価してくれて仕事のしやすい某国への移籍して某国で税金を納める事を考えています。