Skip to content

Feedback to send iOS enabled developer NSLog file create .txt

License

Notifications You must be signed in to change notification settings

appsyscode/APFeedBack

Repository files navigation

APFeedBack

Version License Platform language

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

APFeedBack is available through CocoaPods. To install it, simply add the following line to your Podfile:

Deprecated old version
pod "APFeedBack"

New version iOS 15*

pod 'APFeedBack', '~> 0.1.4'

Example objective-C

- (IBAction)feedback_Push:(id)sender;

{

APFeedTableViewController *fd = [[APFeedTableViewController alloc]init];
fd.developer_LogFile=NO;  //To turn feedbacklog.txt on, turn on developer_LogFile = YES
fd.mailHTML=YES;
[self.navigationController pushViewController:fd animated:YES];

}

- (IBAction)feedback_modal:(id)sender

{

APFeedTableViewController *fd = [[APFeedTableViewController alloc]init];
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:fd];
navController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentViewController:navController animated:YES completion:nil];

}

//AppDelegate
[[DeviceInfo deviceManager]logfilecreate];

Example Swift

 @IBAction func openPushViewController(_ sender: UIButton) {
	let fd = APFeedTableViewController()
	fd.developer_LogFile = true
	fd.mailHTML = true
	navigationController?.pushViewController(fd, animated: true)
}
@IBAction func openModalViewController(_ sender: UIButton) {
	let fd = APFeedTableViewController()
	fd.developer_LogFile = true
	fd.mailHTML = true
	fd.modalPresentationStyle = .formSheet
	present(fd, animated: true, completion: nil)
}

 //AppDelegate
 DeviceInfo.deviceManager().logfilecreate()

Author

appsyscode, [email protected]

License

APFeedBack is available under the MIT license. See the LICENSE file for more info.

About

Feedback to send iOS enabled developer NSLog file create .txt

Resources

License

Stars

Watchers

Forks

Packages

No packages published