How to get Bundle Id of your app iOS UIA automation

You’d use:

[[NSBundle mainBundle] bundleIdentifier]

+ mainBundle “[r]eturns the NSBundle object that corresponds to the directory where the current application executable is located.” and hence will return an NSBundle object for the application bundle.

[- bundleIdentifier] Returns “[t]he receiver’s bundle identifier, which is defined by the CFBundleIdentifier key in the bundle’s information property list.”

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)