This question already has answers here:
Getting Mac Model number in Cocoa
                            
                                (4个答案)
                            
                    
                5年前关闭。
        

    

我想获取MGX72xx/AMGX82xx/AMGX92xx/A之类的型号。

https://support.apple.com/en-in/HT201300 1列出所有型号。但不知道如何以编程方式获取?

最佳答案

您无法获得型号。

但是,您可以获取model identifierserial numberfull marketing name

关于objective-c - 如何以编程方式获取Macbook的型号? ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/28802741/

10-15 18:00