[im push calendar push latest content strong delivery] HTTP/2 protocol: This is a newer and recommended communication protocol. Using the HTTP/2 protocol, you can establish TLS (Transport Layer Security)

Establishing a connection with APNs requires the use of the APNs communication protocol. APNs provides two communication protocols to choose from:

HTTP/2 Protocol: This is a newer and recommended communication protocol. Using the HTTP/2 protocol, you can communicate with the APNs server by establishing a TLS (Transport Layer Security) connection. It provides higher efficiency and performance, and supports multiplexing, allowing multiple push requests to be sent at the same time.

insert image description here

      <key>title</key>  
            <string>测试APP免Appstore安置格局</string>  
        </dict>  
    </dict>  
</array>  

Above, let’s talk about the top ten reasons and solutions for the rejection of iOS APPs on the App Store:

Apple has officially announced the top ten reasons why iOS applications are rejected to help IOS developers better design iOS applications that comply with Apple's listing rules.

Among the top ten reasons listed by Apple folks, the highest proportion is "incomplete information submission", reaching 14%.

This reason may be that the IOS application information description is not perfect, or the developer may have forgotten to include a link to the support page.

1. Register in the name of the company
2. No matter in the name of the company or in the name of an individual, you must apply for an appleId first, because the following registrations are all based on the appleId

12.
12.1 Terminology and Expiration
This Agreement shall expire until the one (1) year anniversary of the initial step activation date of the Account (“Effective Date”). Thereafter, your payment of the Annual Renewal Fee and subject to the terms of this Agreement, the term will automatically renew for one (1) year, unless terminated earlier in accordance with this Agreement.

12.2 Termination
of this Agreement and all rights and licenses granted by Apple, and any provision of services under this Agreement will be terminated immediately upon notice from Apple: (a)
If you or any of your authorized developers fail to comply with this Agreement Any clause other than those specified in this Section 12.2 and cannot be cured of such breach or within 30 days of taking over care of such breach; (b)
if you or any of your Authorized Developers fail to comply with Clause 10;

$ make
Making all for application firstdemo…
Compiling main.m…
Compiling firstdemoApplication.mm…
Compiling RootViewController.mm…
Linking application firstdemo…
Stripping firstdemo…
Signing firstdemo…

© The circumstances of the event described in the subsection above entitled "Severability";
(d) if you, at any time, commence patent infringement measures against Apple;
(e) if you go out of business and are unable to pay your debts to or
(f) if you intervene, or urge and encourage others to participate, in any misleading, false, improper, illegal or dishonest practice with respect to this Agreement , including but not limited to, misinterpreting the nature of the submitted app (eg., hiding or attempting to hide results from Apple's review, falsifying consumer reviews for your app, processing fraud, payments, etc.).

Apple may also terminate this agreement, or suspend your right to use Apple's software or services, if you fail to accept any new style requirements or terms of the agreement as described in Section IV.

For convenience, either party may extinguish this Agreement for any reason or no reason, effective 30 days after providing the other party with written notice of its intention to terminate.

Binary Protocol: This is an older communication protocol that uses a custom binary format for communication. Using the binary protocol, you need to establish a TCP connection over TLS, then send push requests and receive responses in a specific binary format.

Depending on your needs and skills implementation, you can choose to use one of these protocols to establish a connection with APNs. Your server-side code then needs to implement the communication protocol with APNs, including establishing a connection, sending push requests, and handling responses.

A detailed implementation process and code samples can be found in Apple's developer documentation. Apple provides sample code and libraries for different programming language platforms to help you communicate with APNs. You can refer to Apple's official documentation and developer resources to learn how to use the appropriate library and code samples for your technology stack.

Note that communicating using APNs requires the use of appropriate certificates and keys for authentication and secure communication. Make sure you use the exact certificate and key for authentication when connecting to APNs and follow Apple's security requirements
/**

  • Define the proxy and entrust other classes to help this class complete some other tasks. This class notifies other classes that implement the following protocol through the delegate defined below */ @property (nonatomic, weak)
    iddelegate
    ;

@end

/* This call lets you get an xpc_object_t that holds a reference to the IOSurface.
Note: Any live XPC objects created from an IOSurfaceRef implicity increase the IOSurface’s global use
count by one until the object is destroyed. */

/xpc_object_t IOSurfaceCreateXPCObject(IOSurfaceRef aSurface) XPC_RETURNS_RETAINED
IOSFC_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
/

insert image description here

/* This call lets you take an xpc_object_t created via IOSurfaceCreatePort() and recreate an IOSurfaceRef from it. */

/*IOSurfaceRef IOSurfaceLookupFromXPCObject(xpc_object_t xobj) CF_RETURNS_RETAINED
IOSFC_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_NA);
*/

Recommended content IMESSGAE related

Author ✈️@IMEAE recommended content iMessage Apple Push Software *** Click to view the content information requested by the author
Author ✈️@IMEAE recommended content 1. Family push content *** Click to view the content information requested by the author
Author ✈️@IMEAE recommended content 2. Album push *** Click to view the content information requested by the author
Author ✈️@IMEAE recommended content 3. Calendar Push *** Click to view the content information requested by the author
Author ✈️@IMEAE recommended content 4. The installation of the virtual machine is simple *** Click to view the content information requested by the author
Author ✈️@IMEAE recommended content 5. iMessage *** Click to view the content information requested by the author
Below I will provide some more detailed information to help you understand the characteristics and usage of these two communication protocols:

HTTP/2 protocol:

HTTP/2 is a newer and recommended communication protocol designed to provide a more efficient and performance-optimized transport.
It uses TLS (Transport Layer Security) protocol for encryption to ensure the security of communication.
HTTP/2 supports multiplexing, which allows multiple push requests to be sent simultaneously on a single connection, reducing the overhead of connection establishment.
It communicates using binary framing, which splits requests and responses into smaller frames and swaps and reassembles them out of order.
HTTP/2 provides header compression (header compression) function, reducing the amount of data transmitted.
Using HTTP/2 can use network bandwidth more efficiently, provide faster push delivery and better performance.
Binary protocol:

The binary protocol is an older communication protocol that uses a custom binary format for data transfer.
It also uses TLS (Transport Layer Security) protocol for encryption to ensure the security of communication.
Unlike HTTP/2, the binary protocol requires establishing a TCP connection over TLS, sending push requests and receiving responses in a specific binary format.
Binary protocols require manual encoding and decoding of data, dealing with data format and protocol details.
Because the binary protocol is self-defined, it is necessary to have a certain understanding of the type and details of the protocol during the development process.
Overall, the HTTP/2 protocol is the more modern and recommended choice, offering greater efficiency, performance, and security. It supports multiplexing, has header compression, and can better utilize network bandwidth. Although the binary protocol is older, it can still be used, especially in a specific environment or to deal with some specific needs.
insert image description here

When you realize the communication with APNs, you can choose to use the protocol that suits your needs, select and configure according to your technology stack and development situation. Note that no matter which protocol you use, make sure to follow Apple's security requirements and best practices.

Hope this helps you gain a better understanding of HTTP/2 and the binary protocol! If you have any further questions, please feel free to ask.

Guess you like

Origin blog.csdn.net/IMEAE/article/details/131282283