#include "platform/http_user_agent.hpp" #import namespace platform { std::string HttpUserAgent::ExtractAppVersion() const { NSString * str = NSBundle.mainBundle.infoDictionary[@"CFBundleShortVersionString"]; return str ? std::string(str.UTF8String) : std::string("Unknown"); } } // platform